diff --git a/src/index.ts b/src/index.ts index 454c9d3e2310a4e69c65aaeda5ea1376a34e63a6..2d1c57c2dd9ea7693aecdc7599108732449c4982 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,7 +17,8 @@ const main = async () => { maxRelays: process.env.MAX_RELAYS ? parseInt(process.env.MAX_RELAYS) : 8, }, verbose: (process.env.VERBOSE) ? (process.env.VERBOSE.toLowerCase() === "true") : false, - profit: (process.env.PROFIT) ? parseInt(process.env.PROFIT) : 0 + profit: (process.env.PROFIT) ? parseInt(process.env.PROFIT) : 0, + ip: (process.env.PUBLIC_IP) }; let publisher = new Publisher(_globalConfig); @@ -66,4 +67,4 @@ const main = async () => { } console.log(`💫 Starting publisher...`) -main(); \ No newline at end of file +main();