chore: update to read-config-ng

This commit is contained in:
Bill Church 2020-03-14 09:48:02 -04:00
parent 506918dc68
commit 152ac1e898
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
},
"dependencies": {
"mute": [
"read-config",
"read-config-ng",
"socket.io",
"standard",
"bithound"

View file

@ -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')