From 0d23eaba09a4878520bf346af4cead90d76829fc Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Sun, 25 Sep 2022 18:24:21 +1000 Subject: Refactor to mono-repo + upgrade packages --- api/src/routes/policies/instance/index.ts | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 api/src/routes/policies/instance/index.ts (limited to 'api/src/routes/policies/instance/index.ts') diff --git a/api/src/routes/policies/instance/index.ts b/api/src/routes/policies/instance/index.ts deleted file mode 100644 index e3da014f..00000000 --- a/api/src/routes/policies/instance/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -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 { general } = Config.get(); - res.json(general); -}); - -export default router; -- cgit 1.5.1