aboutsummaryrefslogtreecommitdiff
path: root/browser/background.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/background.js')
-rw-r--r--browser/background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/background.js b/browser/background.js
index 7fc4a82..1f2d5ec 100644
--- a/browser/background.js
+++ b/browser/background.js
@@ -16,7 +16,7 @@ chrome.webRequest.onHeadersReceived.addListener(
// In main frame requests, the CSP needs to be removed to enable fetching of custom css
// as desired by the user
removeFirst(responseHeaders, h => h.name.toLowerCase() === "content-security-policy");
- } else if (type === "stylesheet" && url.startsWith("https://raw.githubusercontent.com")) {
+ } else if (type === "stylesheet" && url.startsWith("https://raw.githubusercontent.com/")) {
// Most users will load css from GitHub, but GitHub doesn't set the correct content type,
// so we fix it here
removeFirst(responseHeaders, h => h.name.toLowerCase() === "content-type");