mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-04 04:25:39 +00:00
Fix /gateway/bot
https://canary.discord.com/channels/806142446094385153/806142446529806367/898928295771521125
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user