mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
updated server.js
This commit is contained in:
parent
f8878ce65a
commit
c0d5fea248
@ -28,7 +28,7 @@ app.use(express.static(path.join(__dirname, '../dist')))
|
||||
app.get('*', (req, res) => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Request', req)
|
||||
res.sendFile(__dirname, '../dist/index.html')
|
||||
res.sendFile(path.join(__dirname, '../dist/index.html'))
|
||||
})
|
||||
|
||||
app.listen(port, hostname, () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user