Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Add ping endpoint

Blue Mousebee4dfb1c5ee
diff --git a/web/app/routes/ping.tsx b/web/app/routes/ping.tsx
new file mode 100644
index 000000000..1692ecc51
--- /dev/null
+++ b/web/app/routes/ping.tsx
@@ -0,0 +1,9 @@
+import type { LoaderFunction } from '@remix-run/node'
+
+export const loader: LoaderFunction = async () => {
+ return new Response('pong', {
+ headers: {
+ 'Content-Type': 'text/plain',
+ },
+ })
+}