summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-08 17:19:14 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-08 17:19:14 +0200
commita349841841225e1147b01727d9a11a09ccc4fe13 (patch)
treec4ab36ea26c170bcf3da86fcd9e6e9cc77a085bb
parentnpm i @fosscord/server-util@1.3.42 (diff)
downloadserver-a349841841225e1147b01727d9a11a09ccc4fe13.tar.xz
:sparkles: ping route
-rw-r--r--src/routes/ping.ts9
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;