mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
fixes default proxy paths.
This commit is contained in:
parent
a85dfdb566
commit
6eb12ebd12
@ -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"
|
||||
};
|
||||
|
||||
|
||||
@ -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() )
|
||||
|
||||
@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user