mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 04:37:54 +00:00
12 lines
276 B
JavaScript
12 lines
276 B
JavaScript
const express = require('express');
|
|
const app = express();
|
|
const port = 3000;
|
|
|
|
// Serve static files from the "public" directory
|
|
app.use(express.static('public'));
|
|
|
|
// Start the server
|
|
app.listen(port, () => {
|
|
console.log(`Server running at http://localhost:${port}/`);
|
|
});
|