initial commit

This commit is contained in:
Dinawo
2024-06-11 23:18:25 +02:00
parent 6d8d5fcd6c
commit 8484a534db
3361 changed files with 493837 additions and 0 deletions

23
server.js Normal file
View File

@@ -0,0 +1,23 @@
const express = require('express');
const path = require('path');
const app = express();
const port = 8005;
app.use('/public', express.static(path.join(__dirname, 'public')));
app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, 'index.html'));
});
app.get('/mentions-legales', (req, res) => {
res.sendFile(path.join(__dirname, 'mention-legal.html'));
});
app.get('/eula', (req, res) => {
res.sendFile(path.join(__dirname, 'eula.html'));
});
app.listen(port, () => {
console.log(`Server is running on http://localhost:${port}`);
});