From 970481aa981b9c65492cc7d66310b8b79bd2e76c Mon Sep 17 00:00:00 2001 From: 0xGingi <0xgingi@0xgingi.com> Date: Wed, 25 Dec 2024 10:23:04 +0000 Subject: [PATCH] new file: public/robots.txt new file: public/sitemap.xml --- public/robots.txt | 20 ++++++++++++++++++++ public/sitemap.xml | 15 +++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 public/robots.txt create mode 100644 public/sitemap.xml diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..47b9290 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,20 @@ +# robots.txt for TrustyNotes +User-agent: * +Allow: / +Allow: /index.html +Allow: /offline.html +Allow: /site.webmanifest +Allow: /screenshots/ +Allow: /icons/ +Allow: /android-chrome-192x192.png +Allow: /android-chrome-512x512.png +Allow: /apple-touch-icon.png +Allow: /favicon-16x16.png +Allow: /favicon-32x32.png + +# Disallow API endpoints and sensitive routes +Disallow: /api/ +Disallow: /sync/ + +# Sitemap +Sitemap: https://trustynotes.app/sitemap.xml \ No newline at end of file diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..d898030 --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,15 @@ + + + + https://trustynotes.app/ + 2024-03-19 + weekly + 1.0 + + + https://trustynotes.app/offline.html + 2024-03-19 + monthly + 0.5 + + \ No newline at end of file