mirror of
https://github.com/dergigi/boris.git
synced 2026-01-31 04:34:39 +01:00
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:
9
public/_headers
Normal file
9
public/_headers
Normal 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
3
public/_redirects
Normal file
@@ -0,0 +1,3 @@
|
||||
# SPA redirect for client-side routing
|
||||
/* /index.html 200
|
||||
|
||||
5
public/robots.txt
Normal file
5
public/robots.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://xn--bris-v0b.com/sitemap.xml
|
||||
|
||||
Reference in New Issue
Block a user