aboutsummaryrefslogtreecommitdiff
path: root/api/config.js
blob: 68b66f9f265eed2da79e942da326c36cebd3523e (plain)
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
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,
    printDebug: env.AK_DEBUG

}
module.exports = config;