summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-16 15:44:39 +0200
committerGitHub <noreply@github.com>2021-10-16 15:44:39 +0200
commit7f86d5f195d901e92b1ed40cd16f75bbf9f647fa (patch)
tree59b0bc1c000700a4ed572b603606442013760ccb /api
parent:sparkles: lazy loading of guilds for bots closes #451 (diff)
parentFix /gateway/bot (diff)
downloadserver-7f86d5f195d901e92b1ed40cd16f75bbf9f647fa.tar.xz
Merge pull request #471 from ChrisChrome/patch-1
Fix /gateway/bot
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",