summary refs log tree commit diff
path: root/src/api/routes/gateway/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/gateway/index.ts')
-rw-r--r--src/api/routes/gateway/index.ts10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/api/routes/gateway/index.ts b/src/api/routes/gateway/index.ts
index 9bad7478..a6ed9dc4 100644
--- a/src/api/routes/gateway/index.ts
+++ b/src/api/routes/gateway/index.ts
@@ -11,14 +11,16 @@ export interface GatewayResponse {
 const options: RouteOptions = {
 	test: {
 		response: {
-			body: "GatewayResponse"
-		}
-	}
+			body: "GatewayResponse",
+		},
+	},
 };
 
 router.get("/", route(options), (req: Request, res: Response) => {
 	const { endpointPublic } = Config.get().gateway;
-	res.json({ url: endpointPublic || process.env.GATEWAY || "ws://localhost:3002" });
+	res.json({
+		url: endpointPublic || process.env.GATEWAY || "ws://localhost:3002",
+	});
 });
 
 export default router;