Pepguy's picture
Update app.py
f47518c verified
raw
history blame contribute delete
381 Bytes
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}`);
});