#vzhidkov - CSP
1 messages · Page 1 of 1 (latest)
Apologies for missing this question for a bit. Which line of code is giving you that issue?
Apologies, I clearly skimmed that code far too quickly. Is that code from a guide of hourse?
const response = await fetch('https://httpbin.org/get', {...
I took an example from https://github.com/stripe/stripe-apps/blob/master/examples/helloworld/src/views/App.tsx
and just added a get request
Ah thank you. Looking in to that...
thanks!
Hello! That code is failing because it violates the connect-src directive as outlined in the error message. Basically you can't make requests from your JavaScript running on localhost to that https://httpbin.org/get URL.
What exactly are you trying to do?
@agile stratus You still there?