mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
log requests on frontend server script
This commit is contained in:
parent
2347deb317
commit
f8878ce65a
@ -26,6 +26,8 @@ const app = express()
|
||||
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')
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user