summary refs log tree commit diff
path: root/src/api/routes/template.ts.disabled
blob: fcc59ef4dd2a14abc65c32e76da94684bfc6ff67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
//TODO: this is a template for a generic route

import { Router, Request, Response } from "express";
import { route } from "@fosscord/api";
const router = Router();

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

export default router;