summary refs log tree commit diff
path: root/src/api/routes/policies/instance/limits.ts
blob: 0d42fc7b344b23504307eb7a40b5126c7acb238d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { route } from "@fosscord/api";
import { Config } from "@fosscord/util";
import { Request, Response, Router } from "express";
const router = Router();

router.get("/", route({}), async (req: Request, res: Response) => {
	const { limits } = Config.get();
	res.json(limits);
});

export default router;