Fix server

master
Håvar Aambø Fosstveit 2018-10-22 10:15:10 +02:00
parent d9651b7d0f
commit 44c6a55608
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ httpsServer.listen(config.listeningPort, '0.0.0.0', () =>
logger.info('Server running on port: ', config.listeningPort);
});
const httpServer = app.createServer();
const httpServer = express.createServer();
// set up a route to redirect http to https
http.get('*', (req, res) =>