mirror of
https://github.com/IT4Change/gradido.git
synced 2026-04-06 01:25:28 +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) => {
|
app.get('*', (req, res) => {
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.log('Request', req)
|
console.log('Request', req)
|
||||||
res.sendFile(__dirname, '../dist/index.html')
|
res.sendFile(path.join(__dirname, '../dist/index.html'))
|
||||||
})
|
})
|
||||||
|
|
||||||
app.listen(port, hostname, () => {
|
app.listen(port, hostname, () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user