1
This commit is contained in:
@@ -10,7 +10,7 @@ class Http {
|
||||
}
|
||||
|
||||
init(config, store) {
|
||||
console.log('config', config)
|
||||
|
||||
this.config = { timeout: 300000, ...config }
|
||||
this.store = store
|
||||
}
|
||||
@@ -24,6 +24,8 @@ class Http {
|
||||
}
|
||||
|
||||
getHttpInstance(config) {
|
||||
|
||||
console.log('getHttpInstance', this.baseUrl())
|
||||
let defaultConfig = {
|
||||
timeout: this.config.timeout,
|
||||
headers: {},
|
||||
|
||||
Reference in New Issue
Block a user