-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
src/utils/patchUrlMappings.ts << when using patchURL for CocosJS, the error:
"webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/app-index.js:33 InvalidAccessError: Failed to set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document."
This isn't unique to our games, the Cocos samples produce the same result. Note, if you run Cocos in an iframe (with the proxy prefix) you don't need to use patchURL, however, to run without iframe due to the way Cocos loads this is necessary.
Notes: We call the DiscordSDK from the host-page NOT from within Cocos.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels