blob: e3da014f2ac3af075821b46eac5dc84c9ab9c79c (
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();
router.get("/",route({}), async (req: Request, res: Response) => {
const { general } = Config.get();
res.json(general);
});
export default router;
|