mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-29 05:29:15 +00:00
🐛 fix types + prod env
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user