set pathname for kodi

This commit is contained in:
Roy Olav Purser 2022-03-06 09:28:44 +01:00
parent 93547547f1
commit a190acd1d8
Signed by: roypur
GPG Key ID: E14D26A036F21656
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@
"48": "icon-48.png",
"128": "icon-128.png"
},
"version": "110.0",
"version": "111.0",
"manifest_version": 3,
"host_permissions": ["http://127.0.0.1:4000/jsonrpc"],
"permissions": ["tabs"],

View File

@ -74,6 +74,7 @@ document.addEventListener("DOMContentLoaded", () => {
search.append("videoid", video_id)
}
} else {
newurl.pathname = oldurl.pathname
search.append("provider", provider)
search.append("raw", "true")
}