mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Move the default port to 16880.
1688 is used by MS KMS.
This commit is contained in:
parent
baae65919f
commit
ca640ebabe
@ -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",
|
||||
|
||||
@ -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}/`;
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user