Verified Commit aecae2e6 authored by Aral Balkan's avatar Aral Balkan
Browse files

Start on port 443

parent d26d78aa
...@@ -29,7 +29,7 @@ function start (entry, opts) { ...@@ -29,7 +29,7 @@ function start (entry, opts) {
render() render()
getPort({port: 8080}) getPort({port: 443})
.then(function (port) { .then(function (port) {
server.listen(port, function () { server.listen(port, function () {
state.port = port state.port = port
......
...@@ -26,7 +26,7 @@ function createDevServer (connectionHandler) { ...@@ -26,7 +26,7 @@ function createDevServer (connectionHandler) {
net.createServer(tcpConnection).listen(port, onNetListen) net.createServer(tcpConnection).listen(port, onNetListen)
function onNetListen () { function onNetListen () {
getPort({port: 8080}).then(function (port) { getPort({port: 443}).then(function (port) {
httpPort = port httpPort = port
var httpServer = http.createServer(httpConnection) var httpServer = http.createServer(httpConnection)
.listen(port, onHttpListen) .listen(port, onHttpListen)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment