nuxt-open-fetch
nuxt-open-fetch copied to clipboard
Is it possible to dynamically change baseURL of a client ?
Hello, now i'm doing this
useApi('/foo', {
baseURL: serverStore.host,
})
Because sometime I need to use another host. Is it the only way to dynamically change the baseURL or can we also change the default baseURL for all client ? Thanks