Skip to content

Commit 37d8bf3

Browse files
committed
fix(server): install server not loading correctly
1 parent aa435a0 commit 37d8bf3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ checkForOldConfig()
5858
const configExists = fs.existsSync(configFile)
5959

6060
function launchInstallServer () {
61+
// Load the defaults for the install server
62+
nconf.defaults({
63+
tokens: {
64+
secret: chance.hash() + chance.md5()
65+
}
66+
})
67+
6168
const ws = require('./src/webserver')
6269
ws.installServer(function () {
6370
return winston.info('Trudesk Install Server Running...')

0 commit comments

Comments
 (0)