mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-05 17:39:36 +02:00
api/core: remove durationLimit from server info
it's not used, no clue why it was here in the first place
This commit is contained in:
parent
0b36aa09a7
commit
c2d76010c5
@ -54,7 +54,6 @@ export const runAPI = async (express, app, __dirname, isPrimary = true) => {
|
|||||||
version: version,
|
version: version,
|
||||||
url: env.apiURL,
|
url: env.apiURL,
|
||||||
startTime: `${startTimestamp}`,
|
startTime: `${startTimestamp}`,
|
||||||
durationLimit: env.durationLimit,
|
|
||||||
turnstileSitekey: env.sessionEnabled ? env.turnstileSitekey : undefined,
|
turnstileSitekey: env.sessionEnabled ? env.turnstileSitekey : undefined,
|
||||||
services: [...env.enabledServices].map(e => {
|
services: [...env.enabledServices].map(e => {
|
||||||
return friendlyServiceName(e);
|
return friendlyServiceName(e);
|
||||||
|
@ -92,7 +92,6 @@ export type CobaltServerInfo = {
|
|||||||
version: string,
|
version: string,
|
||||||
url: string,
|
url: string,
|
||||||
startTime: string,
|
startTime: string,
|
||||||
durationLimit: number,
|
|
||||||
turnstileSitekey?: string,
|
turnstileSitekey?: string,
|
||||||
services: string[]
|
services: string[]
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user