From 8fb79d3434ba1e1e49a58bced05473db2ab0a73d Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Fri, 6 Dec 2024 10:44:42 +0000 Subject: [PATCH] when scanning manually, search apps/, not apps --- js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/index.js b/js/index.js index e9a0ccc..af71093 100644 --- a/js/index.js +++ b/js/index.js @@ -83,7 +83,7 @@ httpGet(Const.APPS_JSON_FILE).then(apps=>{ console.warn("APPS FILE NOT FOUND "+Const.APPS_JSON_FILE); console.log("Attempting search - SLOW"); let baseurl = window.location.href.replace(/\/[^/]*$/,"/"); - let appsURL = baseurl+"apps"; + let appsURL = baseurl+"apps/"; httpGet(appsURL).then(htmlText=>{ showToast(Const.APPS_JSON_FILE+" can't be read, scanning 'apps' folder for apps","warning"); var parser = new DOMParser();