const express = require('express'); const path = require('path'); const app = express(); const port = 8083; // Kein Caching für HTML app.use((req, res, next) => { res.set('Cache-Control', 'no-store, no-cache, must-revalidate, proxy-revalidate'); res.set('Pragma', 'no-cache'); res.set('Expires', '0'); res.set('Surrogate-Control', 'no-store'); next(); }); app.use(express.static(path.join(__dirname, 'public'))); app.set('view engine', 'ejs'); app.set('views', path.join(__dirname, 'views')); app.get('/', (req, res) => { res.render('index'); }); app.listen(port, () => { console.log(`Beisel-Rallye läuft auf http://localhost:${port}`); });