refactor: logging + search modules PH

This commit is contained in:
Nicolas Giard
2018-08-31 23:42:14 -04:00
parent 23f07381c2
commit 9c6a4f6c20
34 changed files with 327 additions and 189 deletions

View File

@@ -170,7 +170,7 @@ module.exports = async () => {
app.set('port', WIKI.config.port)
WIKI.server = http.createServer(app)
WIKI.server.listen(WIKI.config.port)
WIKI.server.listen(WIKI.config.port, WIKI.config.bindIP)
WIKI.server.on('error', (error) => {
if (error.syscall !== 'listen') {
throw error