summary refs log tree commit diff
path: root/api/src
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
commitd6188037700db5b7bceeff3a0da084bff0dfcd73 (patch)
tree59b0bc1c000700a4ed572b603606442013760ccb /api/src
parent:sparkles: lazy loading of guilds for bots closes #451 (diff)
downloadserver-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.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",