summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-01-14 23:34:33 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-01-14 23:34:33 +0100
commit1d27e610291b0637b3f6f1b40282f69cf4840213 (patch)
tree4781a36bde44f6a1ce16a95f1c3605c536b6328c /src
parentAdd basic info in ping (diff)
downloadserver-1d27e610291b0637b3f6f1b40282f69cf4840213.tar.xz
Fix some default value
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/api/routes/ping.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/routes/ping.ts b/src/api/routes/ping.ts
index ff79399c..9bf8c243 100644
--- a/src/api/routes/ping.ts
+++ b/src/api/routes/ping.ts
@@ -23,7 +23,8 @@ router.get("/", route({}), (req: Request, res: Response) => {
 				defaultApiVersion: api.defaultVersion ?? 9,
 				apiEndpoint: api.endpointPublic ?? "/api",
 				cdnEndpoint: cdn.endpointPublic ?? "/",
-				gatewayEndpoint: gateway.endpointPublic ?? "/",
+				gatewayEndpoint:
+					gateway.endpointPublic ?? "ws://localhost:3001",
 			},
 		},
 	});