Cross origin failed when using Axios #1559
Unanswered
lokeshwarobuli
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Hi, @lokeshwarobuli. Can you please share how you're making the request? I'm particularly interested in the host you're running your app on. I assume it's something different than Ideally, if you could provide a reproduction repository, I'd help you figure this out. |
Beta Was this translation helpful? Give feedback.
3 replies
-
I'm interested in an answer to this as well. We're mocking requests to Sanity while locally running msw inside jest tests and also getting a CORS error. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to make a Axios call and mocking that with the MSW, but I get an error stating that it failed to mock because of some CORS settings
can you someone help me out with correct settings !!
Beta Was this translation helpful? Give feedback.
All reactions