diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-07-02 22:12:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 22:12:02 -0400 |
commit | a4715935cb4d910f5b13b398ca4742cf30c8f784 (patch) | |
tree | 39fb5bb6bbcaa3d583023122301428d796beb7ef /ext/js | |
parent | 56b2462f13db5ac9a57bce1b0bc8e18da55d9ce7 (diff) |
More CssStyleApplier updates (#1785)
* Update eslint rules for css-style-applier.js
* Don't use chrome.runtime.getURL
* Update CSP to allow inline styles
Diffstat (limited to 'ext/js')
-rw-r--r-- | ext/js/dom/css-style-applier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/dom/css-style-applier.js b/ext/js/dom/css-style-applier.js index 32d7ef0f..593e7a46 100644 --- a/ext/js/dom/css-style-applier.js +++ b/ext/js/dom/css-style-applier.js @@ -83,7 +83,7 @@ class CssStyleApplier { // Private async _fetchJsonAsset(url) { - const response = await fetch(chrome.runtime.getURL(url), { + const response = await fetch(url, { method: 'GET', mode: 'no-cors', cache: 'default', |