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 | d6188037700db5b7bceeff3a0da084bff0dfcd73 (patch) | |
tree | 59b0bc1c000700a4ed572b603606442013760ccb /api/src | |
parent | :sparkles: lazy loading of guilds for bots closes #451 (diff) | |
download | server-d6188037700db5b7bceeff3a0da084bff0dfcd73.tar.xz |
Fix /gateway/bot
https://canary.discord.com/channels/806142446094385153/806142446529806367/898928295771521125
Diffstat (limited to 'api/src')
-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", |