修复跨域报错
This commit is contained in:
@@ -51,7 +51,6 @@ function createAxios<Data = any, T = ApiPromise<Data>>(axiosConfig: AxiosRequest
|
||||
timeout: 1000 * 10,
|
||||
headers: {
|
||||
'think-lang': config.lang.defaultLang,
|
||||
server: true,
|
||||
},
|
||||
responseType: 'json',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user