From 16df560edde1ec212f5a0023145d830342ee6e32 Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Fri, 12 Dec 2025 22:27:57 +0100 Subject: [PATCH] fix: some config stuff --- src/util/util/Config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/util/Config.ts b/src/util/util/Config.ts index a79c908d7..496f21cd4 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(