Replace deprecated method

Close #2047
This commit is contained in:
Carlos Marin
2021-05-18 14:36:29 -03:00
parent 4b56a2f0bb
commit 4e4ed390e0
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ function addRemoveSiteIsolation() {
}
async function getExtensionInfo() {
const manifestPath = browser.extension.getURL("manifest.json");
const manifestPath = browser.runtime.getURL("manifest.json");
const response = await fetch(manifestPath);
const extensionInfo = await response.json();
return extensionInfo;