run http on standard port 80

This commit is contained in:
AJ ONeal 2016-10-27 02:20:32 -06:00
parent 77c0fa3c7d
commit 24250f82d8
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ function createServer(port, pubdir, content, opts) {
server2.watch(pubdir); server2.watch(pubdir);
} }
if ('false' !== opts.insecurePort && httpPort !== opts.insecurePort) { if ('false' !== opts.insecurePort && httpPort === opts.insecurePort) {
return createInsecureServer(opts.insecurePort, pubdir, opts).then(function (_server) { return createInsecureServer(opts.insecurePort, pubdir, opts).then(function (_server) {
insecureServer = _server; insecureServer = _server;
resolve(); resolve();