We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7af4937 commit 6246915Copy full SHA for 6246915
src/background/index.ts
@@ -149,7 +149,7 @@ function responseStartedIntercept(details: chrome.webRequest.WebResponseCacheDet
149
const url = trimUrlParams(details.url)
150
for (const rule of __rules) {
151
if (rule.enable && matchPath(rule.test, url)) {
152
- const fn = createRunFunc(rule.code, 'onRequestHeaders')
+ const fn = createRunFunc(rule.code, 'onResponseHeaders')
153
const newHeaders = fn(details.responseHeaders)
154
if (newHeaders) {
155
return {
0 commit comments