mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 18:46:40 +00:00
81ae714533
This reverts commit 3cd22745f7.
num_workers was not passed to the client
18 lines
388 B
TypeScript
18 lines
388 B
TypeScript
import { GameEnv } from "./Config";
|
|
import { DefaultServerConfig } from "./DefaultConfig";
|
|
|
|
export const prodConfig = new (class extends DefaultServerConfig {
|
|
numWorkers(): number {
|
|
return 20;
|
|
}
|
|
env(): GameEnv {
|
|
return GameEnv.Prod;
|
|
}
|
|
jwtAudience(): string {
|
|
return "openfront.io";
|
|
}
|
|
turnstileSiteKey(): string {
|
|
return "0x4AAAAAACFLkaecN39lS8sk";
|
|
}
|
|
})();
|