Commit 8ad368d7 authored by Greybeard's avatar Greybeard
Browse files

add public IP from env

parent f813ab6b
...@@ -17,7 +17,8 @@ const main = async () => { ...@@ -17,7 +17,8 @@ const main = async () => {
maxRelays: process.env.MAX_RELAYS ? parseInt(process.env.MAX_RELAYS) : 8, maxRelays: process.env.MAX_RELAYS ? parseInt(process.env.MAX_RELAYS) : 8,
}, },
verbose: (process.env.VERBOSE) ? (process.env.VERBOSE.toLowerCase() === "true") : false, 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); let publisher = new Publisher(_globalConfig);
...@@ -66,4 +67,4 @@ const main = async () => { ...@@ -66,4 +67,4 @@ const main = async () => {
} }
console.log(`💫 Starting publisher...`) console.log(`💫 Starting publisher...`)
main(); main();
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment