diff --git a/assets/js/maps.js b/assets/js/maps.js index a0e016d..2f3e916 100644 --- a/assets/js/maps.js +++ b/assets/js/maps.js @@ -49,7 +49,7 @@ function renderMaps(files) { // If OSM is in the F-Droid repo, show the download button // and point to proper apk with proper size. const getOsm = async () => { - repoRoot = '/usb-butter/appstore/fdroid/repo/'; + repoRoot = '../usb-butter/appstore/fdroid/repo/'; json_url = repoRoot + 'index-v1.json'; const response = fetch(json_url).then(async (response) => { const ix = await response.json(); @@ -70,4 +70,4 @@ const getOsm = async () => { } getOsm() -getMaps('/usb-butter/osm-map-files/'); \ No newline at end of file +getMaps('../usb-butter/osm-map-files/'); \ No newline at end of file