mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
fixed proxy path
This commit is contained in:
parent
4961e62f56
commit
221d790705
@ -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' => '' ),
|
||||
|
||||
@ -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");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user