feat: add robots.txt and sitemap.xml

This commit is contained in:
2026-06-27 16:30:33 +02:00
parent 87bc6228e7
commit 88c066398e
2 changed files with 13 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ var publicRoutes = []publicRoute{
{method: http.MethodPost, path: "/login"},
{method: http.MethodGet, path: "/logout"},
// Crawler noise.
{method: http.MethodGet, path: "/robots.txt"},
{method: http.MethodGet, path: "/sitemap.xml"},
// Static assets.
{path: "/static", prefix: true},
{path: "/dist", prefix: true},