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 14:30:34 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-26 14:30:34 +1100
commit2a6d6b2dd251e9a3dc24e0f350ce8f9cd9e17da2 (patch)
tree7b009d5a50dfa7cfd44306d563990beff4e1cbea /src/api/routes/gateway/bot.ts
parentFix SIGTERM handler not disconnecting gateway clients and leaving timeouts ac... (diff)
parentalso don't use 3002 as default when gateway endpoints are null (diff)
downloadserver-2a6d6b2dd251e9a3dc24e0f350ce8f9cd9e17da2.tar.xz
Merge branch 'master' of github.com:fosscord/fosscord-server
Diffstat (limited to 'src/api/routes/gateway/bot.ts')
-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,