diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-08 17:19:14 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-08 17:19:14 +0200 |
commit | a349841841225e1147b01727d9a11a09ccc4fe13 (patch) | |
tree | c4ab36ea26c170bcf3da86fcd9e6e9cc77a085bb | |
parent | npm i @fosscord/server-util@1.3.42 (diff) | |
download | server-a349841841225e1147b01727d9a11a09ccc4fe13.tar.xz |
:sparkles: ping route
-rw-r--r-- | src/routes/ping.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/routes/ping.ts b/src/routes/ping.ts new file mode 100644 index 00000000..38daf81e --- /dev/null +++ b/src/routes/ping.ts @@ -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; |