修改文件
This commit is contained in:
@@ -129,7 +129,9 @@ export const errorConfig: RequestConfig = {
|
||||
const headers = { Authorization };
|
||||
// let url = config.url;
|
||||
// const url = config?.url;
|
||||
let url = `https://iadminapi.zhongshuai2023.com` + config.url;
|
||||
console.log(process.env.API_BASEURL);
|
||||
|
||||
let url = `${process.env.API_BASEURL ? process.env.API_BASEURL : ''}` + config.url;
|
||||
if (config.url.includes('https://')) {
|
||||
url = config.url;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user