Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
70ef680d
Commit
70ef680d
authored
4 years ago
by
Patrick
Browse files
Options
Download
Email Patches
Plain Diff
Test Update
parent
83a8cbbc
master
Development
NachIpadTest
NewS_cleaned
New_Structure
STEG
STEGOLD
TestNav
workingVersion
LastWorking
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server.js
+5
-5
server.js
with
5 additions
and
5 deletions
+5
-5
server.js
+
5
-
5
View file @
70ef680d
...
...
@@ -20,14 +20,14 @@ const credentials = {
app
.
use
(
express
.
static
(
'
vcm
'
));
// Starting both http & https servers
const
httpServer
=
http
.
createServer
(
app
);
//
const httpServer = http.createServer(app);
const
httpsServer
=
https
.
createServer
(
credentials
,
app
);
httpServer
.
listen
(
8083
,
()
=>
{
console
.
log
(
'
HTTP Server running on port 80
'
);
});
//
httpServer.listen(8083, () => {
//
console.log('HTTP Server running on port 80');
//
});
httpsServer
.
listen
(
808
4
,
()
=>
{
httpsServer
.
listen
(
808
3
,
()
=>
{
console
.
log
(
'
HTTPS Server running on port 443
'
);
});
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets