You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-07-15 01:24:25 +02:00
reducing logging in production
This commit is contained in:
@ -25,7 +25,7 @@ export class Server {
|
||||
private server: any;
|
||||
|
||||
constructor() {
|
||||
if (process.env.DEBUG) {
|
||||
if (!(process.env.NODE_ENV == "production")) {
|
||||
Logger.debug(LOG_TAG, "Running in DEBUG mode");
|
||||
}
|
||||
this.init();
|
||||
|
Reference in New Issue
Block a user