From d6188037700db5b7bceeff3a0da084bff0dfcd73 Mon Sep 17 00:00:00 2001 From: Chris Chrome Date: Sat, 16 Oct 2021 09:43:21 -0400 Subject: Fix /gateway/bot https://canary.discord.com/channels/806142446094385153/806142446529806367/898928295771521125 --- api/src/routes/gateway/bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/src') 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", -- cgit 1.5.1