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
{{ message }}
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.
We experience issues with the Web samples of Poly API : Today, the search sample is not working anymore because of this issue :
7:1 Failed to load https://poly.googleapis.com/downloads/6XXj6DSBb08/dH3skx1SVUc/materials.mtl: Redirect from 'https://poly.googleapis.com/downloads/6XXj6DSBb08/dH3skx1SVUc/materials.mtl' to 'https://vrassets-pa.googleusercontent.com/downloads/6XXj6DSBb08/dH3skx1SVUc/materials.mtl' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost/workspace' is therefore not allowed access.
We have currently hot fixed the problem by replacing the request URL of the MTL/OBJ Loader in the script.
Regards
The text was updated successfully, but these errors were encountered:
I am currently dealing with a similar issue and have been unable to find a fix.
Edit: Ok my solution - I ended up setting up a proxy for https://poly.googleapis.com on my devServer and I'm splitting the response url before passing to the MTL and OBJ loaders.
Hello Google Team,
We experience issues with the Web samples of Poly API : Today, the search sample is not working anymore because of this issue :
We have currently hot fixed the problem by replacing the request URL of the MTL/OBJ Loader in the script.
Regards
The text was updated successfully, but these errors were encountered: