blob: 7a99848722040e4e8ba18fbdbd370f00cb9171b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { Router, Request, Response } from "express";
import { route } from "@fosscord/api";
import { Config } from "@fosscord/util";
const router = Router();
const { general } = Config.get();
router.get("/",route({}), async (req: Request, res: Response) => {
res.json(general)
});
export default router;
|