add privacy & tos

This commit is contained in:
Arthur Puechberty
2026-01-17 22:32:14 +01:00
parent 95cd796839
commit 6997254a3f
6 changed files with 680 additions and 2 deletions
+8
View File
@@ -81,6 +81,14 @@ app.get("/dashboard", (req, res) => {
res.sendFile(path.join(__dirname, "public", "dashboard.html"));
});
app.get("/tos", (req, res) => {
res.sendFile(path.join(__dirname, "public", "tos.html"));
});
app.get("/privacy", (req, res) => {
res.sendFile(path.join(__dirname, "public", "privacy.html"));
});
// --- Lancement du serveur ---
app.listen(PORT, () => console.log(`Serveur lancé sur http://localhost:${PORT}`));