/[sudobot]/branches/2.x/src/api/routes/index.ts
ViewVC logotype

Annotation of /branches/2.x/src/api/routes/index.ts

Parent Directory Parent Directory | Revision Log Revision Log


Revision 577 - (hide annotations)
Mon Jul 29 18:52:37 2024 UTC (8 months ago) by rakinar2
File MIME type: application/typescript
File size: 200 byte(s)
chore: add old version archive branches (2.x to 9.x-dev)
1 rakinar2 577 import { Request, Response } from "express";
2     import { Route } from "../Router";
3    
4     export default <Route> {
5     path: '/',
6     all(req: Request, res: Response) {
7     res.send('API is up.');
8     }
9     };

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26