Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
0d0ce589
Commit
0d0ce589
authored
Jan 29, 2021
by
Patrick
Browse files
update port
parent
bcea13bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.js
View file @
0d0ce589
...
...
@@ -28,11 +28,11 @@ app.use(express.static('vcm'));
// const httpServer = http.createServer(app);
const
httpsServer
=
https
.
createServer
(
credentials
,
app
);
// httpServer.listen(808
3
, () => {
// httpServer.listen(808
1
, () => {
// console.log('HTTP Server running on port 80');
// });
httpsServer
.
listen
(
808
1
,
()
=>
{
httpsServer
.
listen
(
808
3
,
()
=>
{
console
.
log
(
'
HTTPS Server running on port 443
'
);
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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