summary refs log tree commit diff
path: root/api/src/routes/template.ts.disabled
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-04 11:26:47 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-04 11:26:47 +0200
commit2e9f36b66ad99140fe1312a8b2bdfaf7b0e9d6bb (patch)
treefcd3733bf36327c988c95892d548d4e5d628f505 /api/src/routes/template.ts.disabled
parent:bug: api member add roles -> make sure that roles exist (diff)
parentfixed /discoverable-guilds (diff)
downloadserver-ts-2e9f36b66ad99140fe1312a8b2bdfaf7b0e9d6bb.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-api
Diffstat (limited to 'api/src/routes/template.ts.disabled')
-rw-r--r--api/src/routes/template.ts.disabled10
1 files changed, 10 insertions, 0 deletions
diff --git a/api/src/routes/template.ts.disabled b/api/src/routes/template.ts.disabled
new file mode 100644

index 00000000..ad785f10 --- /dev/null +++ b/api/src/routes/template.ts.disabled
@@ -0,0 +1,10 @@ +//TODO: this is a template for a generic route + +import { Router, Request, Response } from "express"; +const router = Router(); + +router.get("/", async (req: Request, res: Response) => { + res.send({}); +}); + +export default router;