Commit f4f9e621 authored by Patrick's avatar Patrick
Browse files

test server stuff

parent dab6957e
...@@ -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);
......
Supports Markdown
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