chore: Update Dockerfile to use Node.js version 22 and expose port 8005
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2024-07-04 16:19:43 +02:00
parent 8484a534db
commit 9233856850
18 changed files with 912 additions and 285 deletions

View File

@@ -10,12 +10,24 @@ 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('/legal', (req, res) => {
res.sendFile(path.join(__dirname, 'legal.html'));
});
app.get('/eula', (req, res) => {
res.sendFile(path.join(__dirname, 'eula.html'));
app.get('/legal/privacy', (req, res) => {
res.sendFile(path.join(__dirname, 'privacy.html'));
});
app.get('/legal/cgu', (req, res) => {
res.sendFile(path.join(__dirname, 'cgu.html'));
});
app.get('/bot/feathures', (req, res) => {
res.sendFile(path.join(__dirname, 'feathures.html'));
});
app.get('/bot/commands', (req, res) => {
res.sendFile(path.join(__dirname, 'commands.html'));
});
app.listen(port, () => {