also don't use 3002 as default when gateway endpoints are null

This commit is contained in:
Madeline
2023-01-26 10:21:13 +11:00
parent 1886d53943
commit 8384a2c539
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ router.get("/", route({}), async (req: Request, res: Response) => {
gateway:
gateway.endpointPublic ||
process.env.GATEWAY ||
"ws://localhost:3002",
"ws://localhost:3001",
defaultApiVersion: api.defaultVersion ?? 9,
apiEndpoint: api.endpointPublic ?? "/api",
};