summary refs log tree commit diff
path: root/src/api/routes/gateway/bot.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-26 10:21:13 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-26 10:21:13 +1100
commit8384a2c539b7bc1efdee113fa8de769d280f8872 (patch)
tree2332460231449586e7fead9bc8258e2cb8fc3aa6 /src/api/routes/gateway/bot.ts
parentUse localhost:3001 as fallback when cdn endpoints are null rather than 3003 (diff)
downloadserver-8384a2c539b7bc1efdee113fa8de769d280f8872.tar.xz
also don't use 3002 as default when gateway endpoints are null
Diffstat (limited to '')
-rw-r--r--src/api/routes/gateway/bot.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/gateway/bot.ts b/src/api/routes/gateway/bot.ts

index ffd58e21..070debe3 100644 --- a/src/api/routes/gateway/bot.ts +++ b/src/api/routes/gateway/bot.ts
@@ -44,7 +44,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", shards: 1, session_start_limit: { total: 1000,