e4eeb10
1
2
3
4
5
6
7
8
import express from 'express' const app = express() const port = 7860 app.use(express.static('public')) app.listen(port, () => { console.log(`Open http://localhost:${port}`) })