AnsweredAssumed Answered

corsEnabledServers.push works in Chrome and Firefox, but not Edge or Safari

Question asked by bralston on Feb 22, 2017

I have a web app that contains two lines to add a cors enabled servers via the corsEnabledServers.push(<mydatasource page url here>); command . This works fine in Chrome and Firefox but Edge throws the following errors:

esri.config.defaults.io.proxyUrl is not set.

 

I am not sure how to proceed from here.  The page I am trying to add is running IIS and has the proper web.config file.  Any pointers would be appreciated.

Outcomes