diff --git a/src/js/background.js b/src/js/background.js index aea3a9a..1c53b25 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -85,6 +85,7 @@ return { firstUpdateAfter: 11 * oneMinute, nextUpdateAfter: 11 * oneHour, projectServerRoot: 'https://raw.githubusercontent.com/gorhill/umatrix/master/', + pslPath: 'assets/thirdparties/publicsuffix.org/list/effective_tld_names.dat', // permanent hosts files permanentHostsFiles: { diff --git a/src/js/storage.js b/src/js/storage.js index 649639d..e5940ce 100644 --- a/src/js/storage.js +++ b/src/js/storage.js @@ -355,10 +355,7 @@ } callback(); }; - this.assets.get( - 'assets/thirdparties/publicsuffix.org/list/effective_tld_names.dat', - applyPublicSuffixList - ); + this.assets.get(this.pslPath, applyPublicSuffixList); }; /******************************************************************************/