This commit is contained in:
parent
61bb0636ec
commit
01bfaee775
@ -23,6 +23,7 @@
|
|||||||
"@typescript-eslint/no-unsafe-call": "warn",
|
"@typescript-eslint/no-unsafe-call": "warn",
|
||||||
"@typescript-eslint/no-unsafe-assignment": "warn",
|
"@typescript-eslint/no-unsafe-assignment": "warn",
|
||||||
"@typescript-eslint/no-explicit-any": "warn",
|
"@typescript-eslint/no-explicit-any": "warn",
|
||||||
|
"@typescript-eslint/no-loss-of-precision": "warn",
|
||||||
"no-case-declarations": "warn"
|
"no-case-declarations": "warn"
|
||||||
},
|
},
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
|
@ -20,7 +20,8 @@ const httpsPort = config.httpsPort || 443;
|
|||||||
|
|
||||||
// const server = http.createServer(app).listen(80);
|
// const server = http.createServer(app).listen(80);
|
||||||
http.createServer(app).listen(httpPort, () => logger.info("HTTP server started on port " + httpPort));
|
http.createServer(app).listen(httpPort, () => logger.info("HTTP server started on port " + httpPort));
|
||||||
https.createServer(options, app).listen(httpsPort, () => logger.info("HTTPS server started on port " + httpsPort));
|
const server = https.createServer(options, app);
|
||||||
|
server.listen(httpsPort, () => logger.info("HTTPS server started on port " + httpsPort));
|
||||||
|
|
||||||
// server.keepAliveTimeout = 60 * 1000 + 1000;
|
// server.keepAliveTimeout = 60 * 1000 + 1000;
|
||||||
// server.headersTimeout = 60 * 1000 + 2000;
|
// server.headersTimeout = 60 * 1000 + 2000;
|
||||||
|
@ -25,7 +25,6 @@ function createNewSession(sessionData: ISession, Creator: string): ISession {
|
|||||||
customSettings: sessionData.customSettings || "",
|
customSettings: sessionData.customSettings || "",
|
||||||
rewardSeed: sessionData.rewardSeed || -1,
|
rewardSeed: sessionData.rewardSeed || -1,
|
||||||
guildId: sessionData.guildId || "",
|
guildId: sessionData.guildId || "",
|
||||||
// eslint-disable-next-line @typescript-eslint/no-loss-of-precision
|
|
||||||
buildId: sessionData.buildId || 4920386201513015989,
|
buildId: sessionData.buildId || 4920386201513015989,
|
||||||
platform: sessionData.platform || 0,
|
platform: sessionData.platform || 0,
|
||||||
xplatform: sessionData.xplatform || true,
|
xplatform: sessionData.xplatform || true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user