1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00

Merge branch 'master' into patch-1

This commit is contained in:
Juan Picado @jotadeveloper 2017-10-21 09:34:26 +02:00 committed by GitHub
commit 395e4c26a1

@ -172,6 +172,10 @@ function afterConfigLoad() {
webServer = http.createServer(app); webServer = http.createServer(app);
} }
if (addr.path) {
fs.unlinkSync(addr.path);
}
webServer webServer
.listen(addr.port || addr.path, addr.host) .listen(addr.port || addr.path, addr.host)
.on('error', function(err) { .on('error', function(err) {