You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an image is requested through an API call rather than through an image tag on the page the browser blocks the request due to missing Access-Control-Allow-Origin. I am using the API in a Unity game embedding the WebGL player in a website.
I would gladly contribute to the API but failed to find where the current header is set to move it to apply to images as well 😅
The text was updated successfully, but these errors were encountered:
I had a similar problem with Access-Control-Allow-Origin. I solved it by adding the mode: "cors" and credentials: "omit" options to the request method. Can you try that please?
When an image is requested through an API call rather than through an image tag on the page the browser blocks the request due to missing
Access-Control-Allow-Origin
. I am using the API in a Unity game embedding the WebGL player in a website.I would gladly contribute to the API but failed to find where the current header is set to move it to apply to images as well 😅
The text was updated successfully, but these errors were encountered: