Closed pi0 closed 1 year ago
(context: from unjs/nitro#1861 tracker)
Tested runtime version: v0.1.7
MDN docs: https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#base
Event when providing a URL base, runtime errors with base missing. E.g: new URL('./foo, 'http://example.com')
new URL('./foo, 'http://example.com')
Fixed in 0.1.8.
Thanks!
(context: from unjs/nitro#1861 tracker)
Tested runtime version: v0.1.7
MDN docs: https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#base
Event when providing a URL base, runtime errors with base missing. E.g:
new URL('./foo, 'http://example.com')