mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 09:01:09 +03:00
Only enable logger when DEBUG=true
This commit is contained in:
@@ -61,7 +61,7 @@ export class App {
|
||||
this.app = express()
|
||||
|
||||
// Add the expressRequestLogger middleware to log all requests
|
||||
this.app.use(expressRequestLogger)
|
||||
if (process.env.DEBUG === 'true') this.app.use(expressRequestLogger)
|
||||
}
|
||||
|
||||
async initDatabase() {
|
||||
|
||||
Reference in New Issue
Block a user