mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-23 04:15:40 +00:00
81ae714533
This reverts commit 3cd22745f7.
num_workers was not passed to the client
27 lines
643 B
TypeScript
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"
|
|
// ];
|
|
}
|
|
})();
|