run http on standard port 80
This commit is contained in:
parent
77c0fa3c7d
commit
24250f82d8
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue