diff options
author | Chris Chrome <christophercookman@gmail.com> | 2021-10-16 09:43:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-16 09:43:21 -0400 |
commit | 3669823ee788783113435dfccc3d321ce5d25537 (patch) | |
tree | 7460153f082eafc4e1ca5a4993e9098c7cc76711 /api/src/routes | |
parent | :sparkles: lazy loading of guilds for bots closes #451 (diff) | |
download | server-3669823ee788783113435dfccc3d321ce5d25537.tar.xz |
Fix /gateway/bot
https://canary.discord.com/channels/806142446094385153/806142446529806367/898928295771521125
Diffstat (limited to 'api/src/routes')
-rw-r--r-- | api/src/routes/gateway/bot.ts | 2 |
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", |