dronedemo/http.js

8 lines
184 B
JavaScript
Raw Permalink Normal View History

2024-08-07 19:59:21 -04:00
var http = require('http').createServer(require('./app.js'));
const PORT = 3000;
http.listen(PORT, () => {
console.log(`Server running on port ${PORT}`);
});
module.exports = http;