summary refs log tree commit diff
path: root/bundle
diff options
context:
space:
mode:
Diffstat (limited to 'bundle')
-rw-r--r--bundle/src/Server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts
index f29cd649..e461ec5f 100644
--- a/bundle/src/Server.ts
+++ b/bundle/src/Server.ts
@@ -12,7 +12,7 @@ import { Config, initDatabase } from "@fosscord/util";
 const app = express();
 const server = http.createServer();
 const port = Number(process.env.PORT) || 3001;
-const production = true;
+const production = process.env.NODE_ENV == "development" ? false : true;
 server.on("request", app);
 
 // @ts-ignore