diff --git a/lib/proxy.php b/lib/proxy.php index 45c05b9..cb18155 100755 --- a/lib/proxy.php +++ b/lib/proxy.php @@ -36,6 +36,7 @@ * empty */ $serverUrls = array( + array( 'url' => 'http://sampleserver6.arcgisonline.com/arcgis/rest/services', 'matchAll' => true, 'token' => ''), array( 'url' => 'http://tiles1.arcgis.com/tiles/', 'matchAll' => true, 'token' => '' ), array( 'url' => 'http://tiles2.arcgis.com/tiles/', 'matchAll' => true, 'token' => '' ), array( 'url' => 'http://tiles3.arcgis.com/tiles/', 'matchAll' => true, 'token' => '' ), diff --git a/samples/edit-basic.html b/samples/edit-basic.html index 1019b70..863c058 100644 --- a/samples/edit-basic.html +++ b/samples/edit-basic.html @@ -171,7 +171,7 @@ Sample demonstrates basic offline editing functionality for points, lines and po var selectionSymbol; // refer to "Using the Proxy Page" for more information: https://developers.arcgis.com/en/javascript/jshelp/ags_proxy.html - esriConfig.defaults.io.proxyUrl = "/proxy"; + esriConfig.defaults.io.proxyUrl = "../lib/proxy.php"; // This service is for development and testing purposes only. We recommend that you create your own geometry service for use within your applications. esriConfig.defaults.geometryService = new esri.tasks.GeometryService("http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer");