AnsweredAssumed Answered

4.7 - I need to add "http://localhost:44300" into CORS policy for debug my project.

Question asked by tubakumbara on May 13, 2018
Latest reply on May 15, 2018 by tubakumbara

Hello.

 

I'm developing sceneView application and i can't see basemaps when i debugging my project on localhost (pressing F5). Because CORS policy blocking my localhost. But i see no error when i published my project.

 

I tried to add

 

esriConfig.request.corsDetection = false;

But doesn't worked.

 

AccessTo image at "https://myproxyserver/resource-proxy/proxy.ashx?http://myserver.com/myservice/3/5/1.jpg" from origin "https://localhost:44300" has been blocked by CORS policy: No "Access-Contol-Allow-Origin" header is present on the requested ressource. Origin "https://localhost:44300" is therefore not allowed access

 

Thanks inadvance.

Outcomes