// Temporary static file server
const express = require('express');
const path = require('path');
const app = express();

// Serve static files from current directory
app.use(express.static(path.join(__dirname)));

// Specifically serve the HTML file
app.get('/app', (req, res) => {
  res.sendFile(path.join(__dirname, 'wakatraffic-complete.html'));
});

const PORT = 3000;
app.listen(PORT, () => {
  console.log('\\n🌐 Static file server running!');
  console.log('═══════════════════════════════════════════');
  console.log('📄 Open: http://localhost:3000/wakatraffic-complete.html');
  console.log('📄 Or:   http://localhost:3000/app');
  console.log('═══════════════════════════════════════════\\n');
});
