Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Greybeard
momiji-node-mainnet
Commits
8ad368d7
Commit
8ad368d7
authored
9 months ago
by
Greybeard
Browse files
Options
Download
Email Patches
Plain Diff
add public IP from env
parent
f813ab6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/index.ts
src/index.ts
+3
-2
No files found.
src/index.ts
View file @
8ad368d7
...
...
@@ -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
();
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment