Swapping Body Texture (Diffuse) getting CORS #4134
Unanswered
WadeMorrison
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Messed around with a few more items, but no luck. I changed my CORS setting to '*' on my server.js instead of my app's url. And still not working. Again, it's "GET"ting the normal and orm maps just fine, and even the diffuse for the material swatch is rendering without issue. In the Network pane, it shows it's not able to get it once I swap the materials. Here's an example for the configurator: |
Beta Was this translation helpful? Give feedback.
4 replies
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.
-
Hey there, was hopping to see if anyone could help me out here. I have a configurator that is able to swap materials/textures instead of variants. And when I click on any of the materials, it'll "GET" and swap the ORM and Normal textures, but not the Diffuse? All textures live in the same bucket with the correct CORS settings on AWS. My app works great locally, but when deployed to Heroku it gets the error. I can swap models/.GLBs as well with no problem. It's only with swapping the diffuse channel.
I have cors middleware on my backend as well.
Hope someone can help! I can also provide a link to an example if that helps.
Beta Was this translation helpful? Give feedback.
All reactions