🐛 fix types + prod env

This commit is contained in:
Flam3rboy
2021-10-18 21:10:03 +02:00
parent 923d4d2304
commit cea121fe3f
2 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -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