1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

Implement guilds/#guild_id/regions route

This commit is contained in:
Paul Munteanu 2021-07-26 02:19:10 +03:00
parent 707e94614b
commit 16ef891781
No known key found for this signature in database
GPG Key ID: 4C0797E4861E8917

View File

@ -0,0 +1,10 @@
import { Config } from "@fosscord/server-util";
import { Request, Response, Router } from "express";
const router = Router();
router.get("/", async (req: Request, res: Response) => {
return res.json(Config.get().regions.available);
});
export default router;