fix: avoid overwriting the provider.option.baseURL (#880)
parent
4bb8536d34
commit
3249420ad1
|
|
@ -234,7 +234,7 @@ export namespace Provider {
|
|||
if (!provider) {
|
||||
const info = database[id]
|
||||
if (!info) return
|
||||
if (info.api) options["baseURL"] = info.api
|
||||
if (info.api && !options["baseURL"]) options["baseURL"] = info.api
|
||||
providers[id] = {
|
||||
source,
|
||||
info,
|
||||
|
|
|
|||
Loading…
Reference in New Issue