Commit 70ef680d authored by Patrick's avatar Patrick
Browse files

Test Update

parent 83a8cbbc
...@@ -20,14 +20,14 @@ const credentials = { ...@@ -20,14 +20,14 @@ const credentials = {
app.use(express.static('vcm')); app.use(express.static('vcm'));
// Starting both http & https servers // Starting both http & https servers
const httpServer = http.createServer(app); // const httpServer = http.createServer(app);
const httpsServer = https.createServer(credentials, app); const httpsServer = https.createServer(credentials, app);
httpServer.listen(8083, () => { // httpServer.listen(8083, () => {
console.log('HTTP Server running on port 80'); // console.log('HTTP Server running on port 80');
}); // });
httpsServer.listen(8084, () => { httpsServer.listen(8083, () => {
console.log('HTTPS Server running on port 443'); console.log('HTTPS Server running on port 443');
}); });
......
Markdown is supported
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