Files
spore-website/server.js
2025-10-14 13:53:30 +02:00

15 lines
352 B
JavaScript

const express = require('express');
const path = require('path');
const app = express();
const PORT = process.env.PORT || 3002;
// Serve static files from the public directory
app.use(express.static(path.join(__dirname, 'public')));
// Start server
app.listen(PORT, () => {
console.log(`SPORE website running at http://localhost:${PORT}`);
});