Files
OpenFrontIO/src/core/configuration/PreprodConfig.ts
T
evanpelle 81ae714533 Revert "Allow NUM_WORKERS override (#2776)"
This reverts commit 3cd22745f7.

num_workers was not passed to the client
2026-01-07 16:16:58 -08:00

27 lines
643 B
TypeScript

import { GameEnv } from "./Config";
import { DefaultServerConfig } from "./DefaultConfig";
export const preprodConfig = new (class extends DefaultServerConfig {
env(): GameEnv {
return GameEnv.Preprod;
}
numWorkers(): number {
return 2;
}
turnstileSiteKey(): string {
return "0x4AAAAAAB7QetxHwRCKw-aP";
}
jwtAudience(): string {
return "openfront.dev";
}
allowedFlares(): string[] | undefined {
return undefined;
// TODO: Uncomment this after testing.
// Allow access without login for now to test
// the new login flow.
// return [
// // "access:openfront.dev"
// ];
}
})();