chore: update to read-config-ng
This commit is contained in:
parent
506918dc68
commit
152ac1e898
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"mute": [
|
||||
"read-config",
|
||||
"read-config-ng",
|
||||
"socket.io",
|
||||
"standard",
|
||||
"bithound"
|
||||
|
|
|
@ -90,7 +90,7 @@ let config = {
|
|||
try {
|
||||
if (fs.existsSync(configPath)) {
|
||||
console.log('ephemeral_auth service reading config from: ' + configPath)
|
||||
config = require('read-config')(configPath)
|
||||
config = require('read-config-ng')(configPath)
|
||||
} else {
|
||||
console.error('\n\nERROR: Missing config.json for webssh. Current config: ' + JSON.stringify(config))
|
||||
console.error('\n See config.json.sample for details\n\n')
|
||||
|
|
Loading…
Reference in a new issue