diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-26 14:30:34 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-26 14:30:34 +1100 |
commit | e98cdfbce0a2cda9b18a98b4ccfbf83d4c77ed56 (patch) | |
tree | 2b1efab39f62cf61200ff59d88bf45079cda50e1 /src/api/routes/gateway/index.ts | |
parent | Fix SIGTERM handler not disconnecting gateway clients and leaving timeouts ac... (diff) | |
parent | also don't use 3002 as default when gateway endpoints are null (diff) | |
download | server-e98cdfbce0a2cda9b18a98b4ccfbf83d4c77ed56.tar.xz |
Merge branch 'master' of github.com:fosscord/fosscord-server
Diffstat (limited to 'src/api/routes/gateway/index.ts')
-rw-r--r-- | src/api/routes/gateway/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/gateway/index.ts b/src/api/routes/gateway/index.ts index a23c93ba..e6fcf5e3 100644 --- a/src/api/routes/gateway/index.ts +++ b/src/api/routes/gateway/index.ts @@ -37,7 +37,7 @@ const options: RouteOptions = { router.get("/", route(options), (req: Request, res: Response) => { const { endpointPublic } = Config.get().gateway; res.json({ - url: endpointPublic || process.env.GATEWAY || "ws://localhost:3002", + url: endpointPublic || process.env.GATEWAY || "ws://localhost:3001", }); }); |