chore: Update Dockerfile to use Node.js version 22 and expose port 8005
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
20
server.js
20
server.js
@@ -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, () => {
|
||||
|
||||
Reference in New Issue
Block a user