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

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

export default router;