chore: add public assets and deployment configuration

- Add _headers for security headers and asset caching
- Add robots.txt for SEO with sitemap reference
- Add _redirects for SPA client-side routing support
This commit is contained in:
Gigi
2025-10-07 21:34:46 +01:00
parent 5b7ad1d697
commit 298e80cd49
3 changed files with 17 additions and 0 deletions

9
public/_headers Normal file
View File

@@ -0,0 +1,9 @@
/*
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=()
/assets/*
Cache-Control: public, max-age=31536000, immutable

3
public/_redirects Normal file
View File

@@ -0,0 +1,3 @@
# SPA redirect for client-side routing
/* /index.html 200

5
public/robots.txt Normal file
View File

@@ -0,0 +1,5 @@
User-agent: *
Allow: /
Sitemap: https://xn--bris-v0b.com/sitemap.xml