Fix server

This commit is contained in:
Håvar Aambø Fosstveit committed 2018-10-22 10:15:10 +02:00
1 parent d9651b7d0f
commit 44c6a55608
1 file changed
+1 -1
+1 -1
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) =>