require(["esri/config"], function(esriConfig) { esriConfig.defaults.io.proxyUrl = "proxy.ashx" esriConfig.defaults.io.alwaysUseProxy = true; });
<ProxyConfig allowedReferers="*" mustMatch="true"> <serverUrls> <serverUrl url="http://services.arcgisonline.com" matchAll="true"/> <serverUrl url="http://RemoteIP" matchAll="true"/> <serverUrl url="http://RemoteIP:6080" matchAll="true"/> </serverUrls> </ProxyConfig>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.