Closed VaynePeng closed 1 year ago
Hey @VaynePeng, I'm not able to reproduce this and we have a few test cases that already cover passing in a string as a URL. Can you provide some details on what the error is that you're seeing, what version of this library you're using and a minimal reproducible example? Thanks!
Describe the bug
Object.prototype.toString.call(url) === '[object URL]' ? url : new URL(url)
Steps to reproduce the bug
No response
Expected behavior
No response
Logs, error output, etc.
No response
Screenshots
No response
Additional context
No response
Unleash version
No response
Subscription type
No response
Hosting type
No response
SDK information (language and version)
No response