Can't use with relative urls in a browser context
bjoerge opened this issue · 1 comments
bjoerge commented
The following fails with Uncaught Error: "/some/endpoint" is not a valid URL
:
const request = getIt([jsonResponse()])
request('/some/endpoint')
Is there any way configure get-it to allow both relative urls and absolute urls?
rexxars commented
Closing as this doesn't seem to be a huge issue in practice