summary refs log tree commit diff
path: root/src/util/config/Config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/config/Config.ts')
-rw-r--r--src/util/config/Config.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/config/Config.ts b/src/util/config/Config.ts
index 36c4509d..562d589a 100644
--- a/src/util/config/Config.ts
+++ b/src/util/config/Config.ts
@@ -20,12 +20,12 @@ import {
 
 export class ConfigValue {
 	gateway: EndpointConfiguration = {
-		endpointPublic: '${location.protocol === "https:" ? "wss://" : "ws://"}${location.host}',
-		endpointPrivate: `ws://localhost:3001`
+		endpointPrivate: `ws://localhost:3001`,
+		endpointPublic: '${location.protocol === "https:" ? "wss://" : "ws://"}${location.host}'
 	};
 	cdn: EndpointConfiguration = {
-		endpointPublic: "${location.host}",
-		endpointPrivate: `http://localhost:3001`
+		endpointPrivate: `http://localhost:3001`,
+		endpointPublic: "${location.host}"
 	};
 	api: ApiConfiguration = new ApiConfiguration();
 	general: GeneralConfiguration = new GeneralConfiguration();