mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
fixing paths
This commit is contained in:
parent
7c5e2ccbf3
commit
f28924bc30
@ -35,7 +35,7 @@ define([
|
|||||||
layer.offline = {
|
layer.offline = {
|
||||||
online: true,
|
online: true,
|
||||||
store: new DbStore(),
|
store: new DbStore(),
|
||||||
proxyPath: "proxy.php"
|
proxyPath: "../lib/proxy.php"
|
||||||
};
|
};
|
||||||
|
|
||||||
if( /*false &&*/ layer.offline.store.isSupported() )
|
if( /*false &&*/ layer.offline.store.isSupported() )
|
||||||
|
|||||||
@ -145,7 +145,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
var dojoConfig = {
|
var dojoConfig = {
|
||||||
paths: { tiles: location.pathname.replace(/\/[^/]+$/, "") + "../lib/tiles" }
|
paths: { tiles: location.pathname.replace(/\/[^/]+$/, "") + "/../lib/tiles" }
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user