1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-21 10:11:34 +02:00

added template for future routes

This commit is contained in:
xnacly 2021-09-03 21:28:07 +02:00
parent 49fffa7518
commit 61ee5245e2

View 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;