aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-02-19 19:26:48 +0100
committerWojtek Kosior <koszko@koszko.org>2022-02-19 19:54:38 +0100
commit8477d0cf5f2f2526bb3858ca7da26bffd8e98635 (patch)
treea363a01b5cf24a2876fa262dbceca24a940daaae /html
parentd50163d14aa6b22b34ac613c761648294ead1884 (diff)
downloadbrowser-extension-8477d0cf5f2f2526bb3858ca7da26bffd8e98635.tar.gz
browser-extension-8477d0cf5f2f2526bb3858ca7da26bffd8e98635.zip
fix URL construction when downloading definitions from Hydrilla
Diffstat (limited to 'html')
-rw-r--r--html/install.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/install.js b/html/install.js
index 7b3f3fe..95388a3 100644
--- a/html/install.js
+++ b/html/install.js
@@ -181,7 +181,7 @@ function InstallView(tab_id, on_view_show, on_view_hide) {
work.waiting++;
const url = ver ?
- `${this.repo_url}${item_type}/${id}/${ver.join(".")}.json` :
+ `${this.repo_url}${item_type}/${id}/${ver.join(".")}` :
`${this.repo_url}${item_type}/${id}.json`;
const response =
await browser.tabs.sendMessage(tab_id, ["repo_query", url]);