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
f4f9e621
Commit
f4f9e621
authored
Sep 11, 2020
by
Patrick
Browse files
test server stuff
parent
dab6957e
Changes
1
Show whitespace changes
Inline
Side-by-side
server.js
View file @
f4f9e621
...
@@ -23,7 +23,9 @@ const credentials = {
...
@@ -23,7 +23,9 @@ const credentials = {
ca
:
ca
ca
:
ca
};
};
app
.
use
(
express
.
static
(
'
vcm
'
));
app
.
use
((
req
,
res
)
=>
{
res
.
send
(
'
Hello there !
'
);
});
// Starting both http & https servers
// Starting both http & https servers
const
httpServer
=
http
.
createServer
(
app
);
const
httpServer
=
http
.
createServer
(
app
);
...
...
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