Skip to content

Commit

Permalink
Merge pull request #61 from hesiod-project/dev
Browse files Browse the repository at this point in the history
v1.0.37
  • Loading branch information
neuroscr committed Feb 6, 2023
2 parents 8fad430 + c231dd1 commit 0ff883b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lokinet.js
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@ function applyConfig(file_config, config_obj) {
if (file_config.log_path) {
// make sure section is created
if (config_obj.logging === undefined) config_obj.logging = {}
config_obj.logging.type = 'file'
config_obj.logging.file = file_config.log_path
}
// metrics section
Expand Down Expand Up @@ -993,7 +994,7 @@ function generateSerivceNodeINI8(config, cb) {
netdb: {
}, */
bind: {
// will be set after
inbound: ':' + (config.public_port),
},
/*
network: {
Expand Down Expand Up @@ -1039,9 +1040,10 @@ function generateSerivceNodeINI8(config, cb) {
}
// we could just leave this blank
// it defaults to *=0
runningConfig.bind[params.lokinet_nic] = config.public_port
//runningConfig.bind[params.lokinet_nic] = config.public_port
if (config.internal_port) {
runningConfig.bind[params.lokinet_nic] = config.internal_port
//runningConfig.bind[params.lokinet_nic] = config.internal_port
runningConfig.bind.outbound = ':' + config.internal_port
}
applyConfig(config, runningConfig)
// The config option [network]:profiles is deprecated and has been ignored.
Expand Down

0 comments on commit 0ff883b

Please sign in to comment.