You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
index.ts: fix double appending baseUrl when baseUrl does not contain host
By using axios.defaults.baseUrl correctly:
The idea is that you don't have to add it yourself anymore.
But for the empty root endpoint, we need to append
a / because axios supports the baseUrl, but not
using and empty string as the url for a request...?
0 commit comments