From 38c85e6c4f03d296288957c090b4533dfe2f93f5 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Thu, 26 Jan 2023 10:21:13 +1100 Subject: also don't use 3002 as default when gateway endpoints are null --- src/api/routes/gateway/bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/routes/gateway/bot.ts') 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, -- cgit 1.5.1