diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..9f9f663 --- /dev/null +++ b/vercel.json @@ -0,0 +1,21 @@ +{ + "headers": [ + { + "source": "/(.*)", + "headers": [ + { "key": "X-Content-Type-Options", "value": "nosniff" }, + { "key": "X-Frame-Options", "value": "SAMEORIGIN" }, + { "key": "X-XSS-Protection", "value": "1; mode=block" }, + { "key": "Strict-Transport-Security", "value": "max-age=31536000; includeSubDomains; preload" }, + { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, + { "key": "Feature-Policy", "value": "geolocation 'self'" } + ] + }, + { + "source": "/:all*(woff2?|jpe?g|png|gif|svg|js|xml|txt|json|css|mp4|webm|avif)", + "headers": [ + { "key": "Cache-Control", "value": "public, max-age=31536000, immutable" } + ] + } + ] +} \ No newline at end of file