summary refs log tree commit diff
diff options
context:
space:
mode:
authorCyberL1 <cyber.hf18@gmail.com>2025-12-12 22:27:57 +0100
committerCyberL1 <cyber.hf18@gmail.com>2025-12-12 22:27:57 +0100
commit16df560edde1ec212f5a0023145d830342ee6e32 (patch)
treefc056056df8d6fb08c320208c9835f167ecdceb2
parentfix: show compare url on multiple commits (diff)
downloadserver-ts-16df560edde1ec212f5a0023145d830342ee6e32.tar.xz
fix: some config stuff
-rw-r--r--src/util/util/Config.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/util/Config.ts b/src/util/util/Config.ts

index a79c908d..496f21cd 100644 --- a/src/util/util/Config.ts +++ b/src/util/util/Config.ts
@@ -194,9 +194,9 @@ function validateFinalConfig(config: ConfigValue) { } assertConfig("api_endpointPublic", v => v != null, "A valid public API endpoint URL, ex. \"http://localhost:3001/api/v9\""); - assertConfig("cdn_endpointPublic", v => v != null, "A valid public CDN endpoint URL, ex. \"http://localhost:3002/\""); - assertConfig("cdn_endpointPrivate", v => v != null, "A valid private CDN endpoint URL, ex. \"http://localhost:3002/\" - must be routable from the API server!"); - assertConfig("gateway_endpointPublic", v => v != null, "A valid public gateway endpoint URL, ex. \"ws://localhost:3003/\""); + assertConfig("cdn_endpointPublic", v => v != null, "A valid public CDN endpoint URL, ex. \"http://localhost:3003/\""); + assertConfig("cdn_endpointPrivate", v => v != null, "A valid private CDN endpoint URL, ex. \"http://localhost:3003/\" - must be routable from the API server!"); + assertConfig("gateway_endpointPublic", v => v != null, "A valid public gateway endpoint URL, ex. \"ws://localhost:3002/\""); if (hasErrors) { console.error(