summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorChris Chrome <christophercookman@gmail.com>2021-10-16 09:43:21 -0400
committerGitHub <noreply@github.com>2021-10-16 09:43:21 -0400
commit3669823ee788783113435dfccc3d321ce5d25537 (patch)
tree7460153f082eafc4e1ca5a4993e9098c7cc76711 /api
parent:sparkles: lazy loading of guilds for bots closes #451 (diff)
downloadserver-3669823ee788783113435dfccc3d321ce5d25537.tar.xz
Fix /gateway/bot
https://canary.discord.com/channels/806142446094385153/806142446529806367/898928295771521125
Diffstat (limited to 'api')
-rw-r--r--api/src/routes/gateway/bot.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/gateway/bot.ts b/api/src/routes/gateway/bot.ts

index 3a038276..72313700 100644 --- a/api/src/routes/gateway/bot.ts +++ b/api/src/routes/gateway/bot.ts
@@ -23,7 +23,7 @@ const options: RouteOptions = { } }; -router.get("/bot", route(options), (req: Request, res: Response) => { +router.get("/", route(options), (req: Request, res: Response) => { const { endpointPublic } = Config.get().gateway; res.json({ url: endpointPublic || process.env.GATEWAY || "ws://localhost:3002",