mirror of
https://github.com/arthur-pbty/LazyBot.git
synced 2026-06-05 13:50:49 +02:00
add privacy & tos
This commit is contained in:
@@ -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}`));
|
||||
Reference in New Issue
Block a user