From 5157dc62fc6bd010e8616ae59b462fd8c58f1d9b Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 31 Mar 2023 21:32:07 +0300 Subject: Added two new variables --- api/config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'api') diff --git a/api/config.js b/api/config.js index f4a1879..84a85b1 100644 --- a/api/config.js +++ b/api/config.js @@ -1,7 +1,7 @@ const process = require("process"); const env = process.env; -module.exports = { +const config = { port : 8610, session : { secret:'setabigsecrethere' @@ -16,9 +16,9 @@ module.exports = { zzchain:env.AK_ZZCHAIN, binDir:env.AK_BINDIR, workDir:env.AK_WORKDIR, - blocksFile : env.AK_WORKDIR+"/zBlocksFile", - pairsFile : env.AK_WORKDIR+"/pairsFile", + blocksFile : env.AK_ZBLOCKSFILE, + pairsFile : env.AK_ZPAIRSFILE, minedBlocksDir: env.AK_MINEDBLOCKSDIR } - +module.exports = config; -- cgit v1.2.3