also don't use 3002 as default when gateway endpoints are null
This commit is contained in:
@@ -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",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user