diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-26 10:21:13 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-26 10:21:13 +1100 |
commit | 8384a2c539b7bc1efdee113fa8de769d280f8872 (patch) | |
tree | 2332460231449586e7fead9bc8258e2cb8fc3aa6 /src/api/routes/policies/instance/domains.ts | |
parent | Use localhost:3001 as fallback when cdn endpoints are null rather than 3003 (diff) | |
download | server-8384a2c539b7bc1efdee113fa8de769d280f8872.tar.xz |
also don't use 3002 as default when gateway endpoints are null
Diffstat (limited to 'src/api/routes/policies/instance/domains.ts')
-rw-r--r-- | src/api/routes/policies/instance/domains.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/policies/instance/domains.ts b/src/api/routes/policies/instance/domains.ts index 33c06765..c95493b0 100644 --- a/src/api/routes/policies/instance/domains.ts +++ b/src/api/routes/policies/instance/domains.ts @@ -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", }; |