2022-06-30

How can I fix the Content Security Policy error to make 3rd party API requests in my Stripe App UI extension?

When making a http request to "https://example.com/api" - the console throws an error

Refused to connect to...because it violates the following Content Security Policy directive: "connect-src http://localhost:*...

enter image description here

How can I resolve this error?



No comments:

Post a Comment