Closed Edorka closed 4 years ago
Hiya! You're right, Unfetch isn't properly anticipating a URL object.
The fix is actually even smaller than checking .href - URL.toString()
returns the URL string, so we can just do url += ''
to cast it to a string.
I'm getting this error while doing a
yarn build
on a preact-cli project Complete message isProbably this is because code doesn't expect to get URL as an object this would be a quick fix: