When i use arcgis api for js 4.7,it meet this problem:No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.,do anyone know how to resolve it?
Tgx sandy,
Don't use localhost:8080 in the url for your app if your webserver is at the same url as you have blocked out above use that url that way they will not been seen as two different servers and this error will not appear.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.