Skip to content

Commit

Permalink
fix: wrong headers in node fetch api
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Dec 26, 2023
1 parent 4a97fb2 commit dbaf5f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src-node/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ async function getURLContent({url, options}) {
redirect: "follow",
headers: {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36",
Host: "github.com",
Referer: "https://github.com/",
"Cache-Control": "no-cache"
}
};
Expand Down

0 comments on commit dbaf5f8

Please sign in to comment.