axios-logger icon indicating copy to clipboard operation
axios-logger copied to clipboard

`combineURLs` fails when `baseURL` is a relative path

Open markglattback opened this issue 2 years ago • 0 comments

Describe the bug combineURLs throws the following error when the instance baseURL is a relative path, such as '/api/'.

Expected Behavior Axios accepts relative paths as the baseURL so I'd expect the logger to be able to handle them too.

Additional context Introduced with this commit

markglattback avatar Aug 17 '23 13:08 markglattback