Skip to content

Commit

Permalink
new file: public/robots.txt
Browse files Browse the repository at this point in the history
	new file:   public/sitemap.xml
  • Loading branch information
0xGingi committed Dec 25, 2024
1 parent 9627354 commit 970481a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
20 changes: 20 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://trustynotes.app/</loc>
<lastmod>2024-03-19</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://trustynotes.app/offline.html</loc>
<lastmod>2024-03-19</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
</urlset>

0 comments on commit 970481a

Please sign in to comment.