From 298e80cd49e84953d7f2243a4f8426362e682512 Mon Sep 17 00:00:00 2001 From: Gigi Date: Tue, 7 Oct 2025 21:34:46 +0100 Subject: [PATCH] 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 --- public/_headers | 9 +++++++++ public/_redirects | 3 +++ public/robots.txt | 5 +++++ 3 files changed, 17 insertions(+) create mode 100644 public/_headers create mode 100644 public/_redirects create mode 100644 public/robots.txt diff --git a/public/_headers b/public/_headers new file mode 100644 index 00000000..d9ea9249 --- /dev/null +++ b/public/_headers @@ -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 + diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 00000000..01302000 --- /dev/null +++ b/public/_redirects @@ -0,0 +1,3 @@ +# SPA redirect for client-side routing +/* /index.html 200 + diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 00000000..69b17ce9 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,5 @@ +User-agent: * +Allow: / + +Sitemap: https://xn--bris-v0b.com/sitemap.xml +