1 2 3 4 5 6 7 8 9 10
import { Router, Request, Response } from "express"; import { route } from "@fosscord/api"; const router = Router(); router.get("/", route({}), async (req: Request, res: Response) => { //TODO res.json([]); }); export default router;