hg-pyun / axios-logger

Beautify Axios Logging Messages
MIT License
172 stars 33 forks source link

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

Closed markglattback closed 7 months ago

markglattback commented 1 year ago

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

hg-pyun commented 7 months ago

released version 2.8.0