Spaces:
Runtime error
Runtime error
File size: 381 Bytes
f47518c 07221e5 f47518c 5a3e4b7 f47518c 36e2967 f47518c |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
const express = require('express');
const path = require('path');
const app = express();
// Serve static files from the 'public' directory
app.use(express.static(path.join(__dirname, 'public')));
// ... your other routes and middleware ...
const port = 7860;
app.listen(port, () => {
console.log(`Server running on port ${port}`);
}); |