Skip to content

Commit

Permalink
Update background.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xifangczy committed Oct 2, 2024
1 parent 0441440 commit 7a49e03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,11 +625,11 @@ function getRequestHeaders(data) {
for (let item of data.allRequestHeaders) {
item.name = item.name.toLowerCase();
if (item.name == "referer") {
header.referer = item.value.toLowerCase();
header.referer = item.value;
} else if (item.name == "origin") {
header.origin = item.value.toLowerCase();
header.origin = item.value;
} else if (item.name == "cookie") {
header.cookie = item.value.toLowerCase();
header.cookie = item.value;
}
}
if (Object.keys(header).length) {
Expand Down

0 comments on commit 7a49e03

Please sign in to comment.