Vercel
यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।
Content-Security-Policy
for Static Content
Ensuring that Vercel serves your static content with the correct
Content-Security-Policy
headers requires some additional configuration.
Specifically:
- Set
securityHeaders.enableOnStaticPages.provider
to the value"vercel"
. - Set the
@astrojs/vercel/static
adapter (install the package@astrojs/vercel
, you can check its documentation).
See a more complete example: