diff --git a/client/openapi-config.ts b/client/openapi-config.ts index 894f806f..8dfd0420 100644 --- a/client/openapi-config.ts +++ b/client/openapi-config.ts @@ -1,7 +1,7 @@ import { ConfigFile } from "@rtk-query/codegen-openapi"; const config: ConfigFile = { - schemaFile: "http://[::1]:1688/openapi.json", + schemaFile: "http://[::1]:16880/openapi.json", apiFile: "./src/api/baseApi.ts", apiImport: "baseApi", outputFile: "./src/api/liberationApi.ts", diff --git a/client/src/api/backend.ts b/client/src/api/backend.ts index 70380e3d..541129d2 100644 --- a/client/src/api/backend.ts +++ b/client/src/api/backend.ts @@ -2,7 +2,7 @@ import axios from "axios"; const backendAddr = new URL(window.location.toString()).searchParams.get("server") ?? - "[::1]:1688"; + "[::1]:16880"; export const HTTP_URL = `http://${backendAddr}/`; diff --git a/game/server/settings.py b/game/server/settings.py index fe0ed8df..007591d0 100644 --- a/game/server/settings.py +++ b/game/server/settings.py @@ -20,7 +20,7 @@ class ServerSettings(BaseSettings): server_bind_address: str = "::1" # This (and the address) will be passed the the front end as a query parameter. - server_port: int = 1688 + server_port: int = 16880 # Enable to allow cross-origin requests from http://localhost:3000. cors_allow_debug_server: bool = False diff --git a/resources/ui/map/map.js b/resources/ui/map/map.js index 5e15b5f7..c0f0820b 100644 --- a/resources/ui/map/map.js +++ b/resources/ui/map/map.js @@ -1,7 +1,7 @@ const ENABLE_EXPENSIVE_DEBUG_TOOLS = false; // Must be kept in sync with game.server.settings.ServerSettings. -const HTTP_BACKEND = "http://[::1]:1688"; -const WS_BACKEND = "ws://[::1]:1688/eventstream"; +const HTTP_BACKEND = "http://[::1]:16880"; +const WS_BACKEND = "ws://[::1]:16880/eventstream"; METERS_TO_FEET = 3.28084;