CORS Issue in WASM Build – Network Requests Blocked #819
Unanswered
MascotWorld
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building my app on WASM, but network requests fail due to CORS restrictions. The error message is:
Access to fetch at 'https://empty.net/api/v1/auth/signin' from origin 'https://df.empty.net' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
On Android, iOS, and JVM, everything works fine. How can I resolve this issue in WASM?

Beta Was this translation helpful? Give feedback.
All reactions