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

index ffbbe74c..7e8146df 100644 --- a/src/routes/gateway.ts +++ b/src/routes/gateway.ts
@@ -1,9 +1,9 @@ import { Config } from "@fosscord/server-util"; -import { Router } from "express"; +import { Router, Response, Request } from "express"; const router = Router(); -router.get("/", (req, res) => { +router.get("/", (req: Request, res: Response) => { const { endpoint } = Config.get().gateway; res.send({ url: endpoint || process.env.GATEWAY || "ws://localhost:3002" }); });