front from ely
This commit is contained in:
parent
f969bf638c
commit
0a3a79aca9
@ -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) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user