diff --git a/public/robots.txt b/public/robots.txt index e2e2e223..e15e9315 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,6 +1,7 @@ # https://www.robotstxt.org/robotstxt.html User-agent: * Disallow: +Sitemap: https://5chan.app/sitemap.xml # 5chan — open-source decentralized imageboard # Source: https://github.com/bitsocialhq/5chan diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 00000000..4921bdba --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,6 @@ + + + + https://5chan.app/ + + diff --git a/vercel.json b/vercel.json index 243b7972..e63e1f4f 100644 --- a/vercel.json +++ b/vercel.json @@ -1,6 +1,6 @@ { "rewrites": [ - { "source": "/(.*)", "destination": "/index.html" } + { "source": "^/(?!.*\\.).*$", "destination": "/index.html" } ], "headers": [ {