| const express = require('express'); | |
| const app = express(); | |
| const port = 7860; | |
| app.use(express.static('public')); | |
| app.listen(port, () => { | |
| console.log(`Server running at http://localhost:${port}`); | |
| }); |
| const express = require('express'); | |
| const app = express(); | |
| const port = 7860; | |
| app.use(express.static('public')); | |
| app.listen(port, () => { | |
| console.log(`Server running at http://localhost:${port}`); | |
| }); |