aboutsummaryrefslogtreecommitdiff
path: root/api/config.js
blob: 84a85b15fe8f418f5a6d9410677b7b25682cd995 (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
const process = require("process");
const env = process.env;

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,
    minedBlocksDir: env.AK_MINEDBLOCKSDIR

}
module.exports = config;