Replies: 1 comment 1 reply
-
The // Browsers
new Request('http://localhost', { referrer: 'client' }).referrer
// => "https://github.com/nodejs/undici/discussions/client"
// Undici
new Request('http://localhost', { referrer: 'client' }).referrer
// => Uncaught TypeError: Referrer "client" is not a valid URL. I noticed this a little while ago, but there's nothing undici can realistically do (other than remove referrer entirely - similar to Deno). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using a library (ethers.js) that uses this library to make requests.
When I try to run a request from my node js server, I'm getting this error:
Not sure if the source of the problem is this library, but any thoughts on this would be very helpful, thanks.
Beta Was this translation helpful? Give feedback.
All reactions