diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-01-14 23:34:33 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-01-14 23:34:33 +0100 |
commit | 1d27e610291b0637b3f6f1b40282f69cf4840213 (patch) | |
tree | 4781a36bde44f6a1ce16a95f1c3605c536b6328c /src | |
parent | Add basic info in ping (diff) | |
download | server-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.ts | 3 |
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", }, }, }); |