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!

added robots.txt

Blue Mouse681f64671c7d
diff --git a/app/routes/[robots.txt].tsx b/app/routes/[robots.txt].tsx
new file mode 100644
index 000000000..c8a683fd7
--- /dev/null
+++ b/app/routes/[robots.txt].tsx
@@ -0,0 +1,12 @@
+export const loader = () => {
+ const robotText = `User-agent: *
+Allow: /
+Sitemap: https://swetrix.com/sitemap.xml`
+
+ return new Response(robotText, {
+ status: 200,
+ headers: {
+ 'Content-Type': 'text/plain',
+ }
+ })
+}