Skip to content

Commit

Permalink
fix(server): install server not loading correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Jul 13, 2022
1 parent aa435a0 commit 37d8bf3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ checkForOldConfig()
const configExists = fs.existsSync(configFile)

function launchInstallServer () {
// Load the defaults for the install server
nconf.defaults({
tokens: {
secret: chance.hash() + chance.md5()
}
})

const ws = require('./src/webserver')
ws.installServer(function () {
return winston.info('Trudesk Install Server Running...')
Expand Down

0 comments on commit 37d8bf3

Please sign in to comment.