Solved! Go to Solution.
Why am I getting this message in the browser developer when I run an application?
XMLHttpRequest cannot load http://services.arcgisonline.com/ArcGIS/rest/info?f=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.
require(["esri/config"], function(esriConfig) { esriConfig.defaults.io.corsDetection = false; });
Why am I getting this message in the browser developer when I run an application?
XMLHttpRequest cannot load http://services.arcgisonline.com/ArcGIS/rest/info?f=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.
require(["esri/config"], function(esriConfig) { esriConfig.defaults.io.corsDetection = false; });
Hello @derekswingley1 , I'm new to esri community. Currently i developing the web app from webapp builder developer edition,I deployed and run through local machine, im facing the same error which has faced by @ionarawilson1. could you please help me out to solve this issue.
Below error screenshot which i currently facing