diff options
author | Samuel <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-16 15:44:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-16 15:44:39 +0200 |
commit | 2583c8830f2dc8184809e0a64dcf657d12708331 (patch) | |
tree | 7460153f082eafc4e1ca5a4993e9098c7cc76711 | |
parent | :sparkles: lazy loading of guilds for bots closes #451 (diff) | |
parent | Fix /gateway/bot (diff) | |
download | server-2583c8830f2dc8184809e0a64dcf657d12708331.tar.xz |
Merge pull request #471 from ChrisChrome/patch-1
Fix /gateway/bot
-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", |