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

726
0
02-22-2017 12:07 PM
BruceRalston
New Contributor II

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.

0 Kudos
0 Replies