diff --git a/lib/edit/offlineFeaturesManager.js b/lib/edit/offlineFeaturesManager.js index b441cef..2412b92 100644 --- a/lib/edit/offlineFeaturesManager.js +++ b/lib/edit/offlineFeaturesManager.js @@ -59,7 +59,7 @@ define([ layer.offline = { online: true, store: new DbAttachmentStore(), - proxyPath: "../../lib/proxy.php" + proxyPath: "../lib/resource-proxy/proxy.php" //proxyPath: "http://localhost/proxy/proxy.php" }; diff --git a/lib/tiles/offlineTilesEnabler.js b/lib/tiles/offlineTilesEnabler.js index 578fc4c..b2e61c5 100644 --- a/lib/tiles/offlineTilesEnabler.js +++ b/lib/tiles/offlineTilesEnabler.js @@ -43,7 +43,7 @@ define([ layer.offline = { online: true, store: new DbStore(), - proxyPath: "../../lib/proxy.php" + proxyPath: "../lib/resource-proxy/proxy.php" }; if( /*false &&*/ layer.offline.store.isSupported() ) diff --git a/test/spec/offlineTilesEnablerSpec.js b/test/spec/offlineTilesEnablerSpec.js index 3f84ebb..30a3699 100644 --- a/test/spec/offlineTilesEnablerSpec.js +++ b/test/spec/offlineTilesEnablerSpec.js @@ -34,7 +34,7 @@ describe("offline enabler library", function() expect(g_basemapLayer.offline).toEqual(jasmine.any(Object)); expect(g_basemapLayer.offline.store).toEqual(jasmine.any(Object)); - g_basemapLayer.offline.proxyPath = "../lib/proxy.php"; + g_basemapLayer.offline.proxyPath = "../lib/resource-proxy/proxy.php"; done(); }); });