mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 05:02:37 +01:00
✨ ping route
This commit is contained in:
parent
0bcb7164e5
commit
a349841841
9
src/routes/ping.ts
Normal file
9
src/routes/ping.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { Router, Response, Request } from "express";
|
||||
|
||||
const router = Router();
|
||||
|
||||
router.get("/", (req: Request, res: Response) => {
|
||||
res.send("pong");
|
||||
});
|
||||
|
||||
export default router;
|
Loading…
Reference in New Issue
Block a user