feat(site): robots, sitemap reference, vercel redirects + cache headers

This commit is contained in:
Christian Visintin
2026-06-07 22:28:06 +02:00
parent 48b387de14
commit d7b7ab7fa1
2 changed files with 26 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
User-agent: *
Allow: /
Sitemap: https://termscp.rs/sitemap-index.xml
+22
View File
@@ -0,0 +1,22 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"redirects": [
{ "source": "/index.html", "destination": "/", "permanent": true },
{ "source": "/get-started.html", "destination": "/install", "permanent": true },
{ "source": "/get-started", "destination": "/install", "permanent": true },
{ "source": "/updates.html", "destination": "/install", "permanent": true },
{ "source": "/user-manual.html", "destination": "https://docs.termscp.rs", "permanent": true },
{ "source": "/user-manual", "destination": "https://docs.termscp.rs", "permanent": true },
{ "source": "/changelog.html", "destination": "https://github.com/veeso/termscp/blob/main/CHANGELOG.md", "permanent": true }
],
"headers": [
{
"source": "/fonts/(.*)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
},
{
"source": "/install.sh",
"headers": [{ "key": "Content-Type", "value": "text/x-shellscript; charset=utf-8" }]
}
]
}