summary refs log tree commit diff
path: root/api/src/routes/guilds/#guild_id/regions.ts
blob: 3a46d7668fc9ba51e428935065f086af82d3903d (plain) (blame)
1
2
3
4
5
6
7
8
9
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;