Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hypha
Tools
Web Compiler
Commits
aecae2e6
Verified
Commit
aecae2e6
authored
Mar 01, 2019
by
Aral Balkan
Browse files
Start on port 443
parent
d26d78aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/cmd-start.js
View file @
aecae2e6
...
...
@@ -29,7 +29,7 @@ function start (entry, opts) {
render
()
getPort
({
port
:
8080
})
getPort
({
port
:
443
})
.
then
(
function
(
port
)
{
server
.
listen
(
port
,
function
()
{
state
.
port
=
port
...
...
lib/http-server.js
View file @
aecae2e6
...
...
@@ -26,7 +26,7 @@ function createDevServer (connectionHandler) {
net
.
createServer
(
tcpConnection
).
listen
(
port
,
onNetListen
)
function
onNetListen
()
{
getPort
({
port
:
8080
}).
then
(
function
(
port
)
{
getPort
({
port
:
443
}).
then
(
function
(
port
)
{
httpPort
=
port
var
httpServer
=
http
.
createServer
(
httpConnection
)
.
listen
(
port
,
onHttpListen
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment