mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 20:52:42 +01:00
added template for future routes
This commit is contained in:
parent
77a87acfe6
commit
afff55cb59
10
api/src/routes/template.ts.disabled
Normal file
10
api/src/routes/template.ts.disabled
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user