use relative links from maps.js so demo and native both work
This commit is contained in:
parent
2172c27884
commit
295cadc50b
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ function renderMaps(files) {
|
||||||
let clone = template.cloneNode(true);
|
let clone = template.cloneNode(true);
|
||||||
const links = clone.querySelectorAll('a');
|
const links = clone.querySelectorAll('a');
|
||||||
for (let link of links) {
|
for (let link of links) {
|
||||||
link.href = '/usb-butter/osm-map-files/' + file.href;
|
link.href = '../usb-butter/osm-map-files/' + file.href;
|
||||||
link.download = file.name
|
link.download = file.name
|
||||||
}
|
}
|
||||||
const upperText = clone.querySelector('.upper-text');
|
const upperText = clone.querySelector('.upper-text');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue