From 59a2cc3b19ad061a17177b47a23158fa4ca66678 Mon Sep 17 00:00:00 2001 From: Jay Malhotra Date: Sun, 30 Jun 2024 14:20:00 +0100 Subject: [PATCH] Add website ping endpoint --- Website/src/routes/ping/+server.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Website/src/routes/ping/+server.ts diff --git a/Website/src/routes/ping/+server.ts b/Website/src/routes/ping/+server.ts new file mode 100644 index 000000000..96643fbc6 --- /dev/null +++ b/Website/src/routes/ping/+server.ts @@ -0,0 +1,5 @@ +import type { RequestHandler } from './$types'; + +export const GET: RequestHandler = async () => { + return new Response(null, { status: 200 }); +};