Prettier
This commit is contained in:
@@ -18,9 +18,9 @@ export interface GatewayBotResponse {
|
||||
const options: RouteOptions = {
|
||||
test: {
|
||||
response: {
|
||||
body: "GatewayBotResponse"
|
||||
}
|
||||
}
|
||||
body: "GatewayBotResponse",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
router.get("/", route(options), (req: Request, res: Response) => {
|
||||
@@ -32,8 +32,8 @@ router.get("/", route(options), (req: Request, res: Response) => {
|
||||
total: 1000,
|
||||
remaining: 999,
|
||||
reset_after: 14400000,
|
||||
max_concurrency: 1
|
||||
}
|
||||
max_concurrency: 1,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user