summary refs log tree commit diff
path: root/src/api/routes/gateway
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/gateway')
-rw-r--r--src/api/routes/gateway/bot.ts2
-rw-r--r--src/api/routes/gateway/index.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/gateway/bot.ts b/src/api/routes/gateway/bot.ts

index ffd58e21..070debe3 100644 --- a/src/api/routes/gateway/bot.ts +++ b/src/api/routes/gateway/bot.ts
@@ -44,7 +44,7 @@ const options: RouteOptions = { router.get("/", route(options), (req: Request, res: Response) => { const { endpointPublic } = Config.get().gateway; res.json({ - url: endpointPublic || process.env.GATEWAY || "ws://localhost:3002", + url: endpointPublic || process.env.GATEWAY || "ws://localhost:3001", shards: 1, session_start_limit: { total: 1000, diff --git a/src/api/routes/gateway/index.ts b/src/api/routes/gateway/index.ts
index a23c93ba..e6fcf5e3 100644 --- a/src/api/routes/gateway/index.ts +++ b/src/api/routes/gateway/index.ts
@@ -37,7 +37,7 @@ const options: RouteOptions = { router.get("/", route(options), (req: Request, res: Response) => { const { endpointPublic } = Config.get().gateway; res.json({ - url: endpointPublic || process.env.GATEWAY || "ws://localhost:3002", + url: endpointPublic || process.env.GATEWAY || "ws://localhost:3001", }); });