mirror of
https://github.com/comatory/fb2iCal
synced 2025-06-05 22:09:25 +02:00
disable route logger for production environments
This commit is contained in:
@@ -36,7 +36,11 @@ if (enforceHTTPS) {
|
||||
}
|
||||
|
||||
// Server logs
|
||||
// You can alternatively enable these to mimic logs created
|
||||
// by your web server
|
||||
if (isDevelopment) {
|
||||
app.use(createRouteLogger({ dev: isDevelopment }))
|
||||
}
|
||||
|
||||
app.set('view engine', 'ejs')
|
||||
app.set('views', path.join(__dirname, 'views'))
|
||||
|
Reference in New Issue
Block a user