Do you like me?

This commit is contained in:
2025-02-18 22:02:17 +02:00
commit 63435d356e
5 changed files with 934 additions and 0 deletions

14
index.js Normal file
View File

@@ -0,0 +1,14 @@
const express = require('express');
const path = require('path');
const app = express();
const PORT = process.env.PORT || 6969;
// Serve the HTML file for any route
app.get('*', (req, res) => {
res.sendFile(path.join(__dirname, 'index.html'));
});
app.listen(PORT, () => {
console.log(`Server is running on http://localhost:${PORT}`);
});