lollms/examples/lollms_playground/server.js

12 lines
276 B
JavaScript
Raw Normal View History

2023-06-19 08:27:18 +00:00
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}/`);
});