mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(seo): serve sitemap and preserve static metadata files
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://5chan.app/</loc>
|
||||
</url>
|
||||
</urlset>
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"rewrites": [
|
||||
{ "source": "/(.*)", "destination": "/index.html" }
|
||||
{ "source": "^/(?!.*\\.).*$", "destination": "/index.html" }
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user