Commit 16d03cf0 authored by Patrick's avatar Patrick
Browse files

test server

parent f4f9e621
const http = require('http');
const http = require('https');
const fs = require('fs');
const express = require('express')
const app = express();
......@@ -31,9 +32,9 @@ app.use((req, res) => {
const httpServer = http.createServer(app);
const httpsServer = https.createServer(credentials, app);
// httpServer.listen(80, () => {
// console.log('HTTP Server running on port 80');
// });
httpServer.listen(8085, () => {
console.log('HTTP Server running on port 80');
});
httpsServer.listen(8083, () => {
console.log('HTTPS Server running on port 8083');
......
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