1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
const { env } = require("process");
const config = {
port : 8610,
session : {
secret:'setabigsecrethere'
},
zblockDir : env.AK_ZBLOCKDIR,
zchain:env.AK_ZCHAIN,
zchainasc:env.AK_ZCHAINASC,
zgenesis:env.AK_ZGENESIS,
zgenesisasc:env.AK_ZGENESISASC,
zlatest:env.AK_ZLATEST,
zlist:env.AK_ZLIST,
zzchain:env.AK_ZZCHAIN,
binDir:env.AK_BINDIR,
workDir:env.AK_WORKDIR,
blocksFile : env.AK_ZBLOCKSFILE,
pairsFile : env.AK_ZPAIRSFILE,
peersFile : env.AK_ZPEERSFILE,
cacheDir : env.AK_CACHEDIR,
minedBlocksDir: env.AK_MINEDBLOCKSDIR,
chunksDir: env.AK_CHUNKSDIR,
leafsDir: env.AK_LEAFSDIR,
mapsDir: env.AK_MAPSDIR,
printDebug: env.AK_DEBUG
}
module.exports = config;
|