mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-08 12:42:09 +00:00
Improve CORS handling
This commit is contained in:
@@ -4,6 +4,9 @@ import { GameMapType } from "../../src/core/game/Game";
|
||||
import { GameID } from "../../src/core/Schemas";
|
||||
|
||||
export class TestServerConfig implements ServerConfig {
|
||||
origin(): string {
|
||||
return "http://localhost:9000";
|
||||
}
|
||||
cloudflareConfigPath(): string {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user