const date = new Date()
const date = new Date()
const express = require('express');
const app = express();
app.get('/', function (request, response) {
response.send('<h2>Hello</h2>');
});
app.listen(3000);
var file = new static.Server('.', {
cache: 0
});
if (!module.parent) {
http.createServer(accept).listen(8080, () => {
console.log('Server started on port 8080');
});
} else {
exports.accept = accept;
}