lollms/examples/lollms_playground/server.js
2023-06-19 10:27:18 +02:00

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}/`);
});