#matrix-CSP
1 messages · Page 1 of 1 (latest)
Hello
i see this in the console: Ignoring duplicate Content-Security-Policy directive 'report-uri'.
I am in test mode
do you want the link to the website?
yes please, if you could that would be great
I am afraid report-uri directive is no longer supported https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri
The CSP directives required by Stripe are https://stripe.com/docs/security/guide#content-security-policy
mmm I am not sure what i need to do in my website
do i need to add the following? but where?
connect-src, https://checkout.stripe.com
frame-src, https://checkout.stripe.com
script-src, https://checkout.stripe.com
img-src, https://*.stripe.com
or am I using stripe.js?
You can configure CSP within your web server or with the <meta> element within your script, please refer to https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP for more instructions 🙂