I am trying to run the autodesk viewer from a local tomcat server at port 8080. The drawing comes up, but it is untextured. Looking at the chrome console I get the following error.
XMLHttpRequest cannot load https://developer.api.autodesk.com/viewingservice/v1/viewers/res/environments/SharpHighlights_irr.logluv.dds. The 'Access-Control-Allow-Origin' header has a value 'http://developer-autodesk.github.io' that is not equal to the supplied origin. Origin '...localhost:8080' is therefore not allowed access
I am not sure what is adding the header. Is there something I need to modify in the linked autodesk forge viewer javascript files that will fix this?
Note that my localhost server is not https