front from ely

This commit is contained in:
bach 2025-05-30 17:25:17 +02:00
parent f969bf638c
commit 0a3a79aca9

View File

@ -46,8 +46,8 @@ app.use(express.static('assets'))
app.get('/', (req, res) => {
// res.send('Hello World!')
res.render('index', { title: 'Hey', message: 'Hello there PUG!' })
// res.sendFile('assets/main.html', { root : __dirname});
// res.render('index', { title: 'Hey', message: 'Hello there PUG!' })
res.sendFile('assets/main.html', { root : __dirname});
})
io.on('connection', (socket) => {