更新公网接口请求
This commit is contained in:
@@ -20,7 +20,7 @@ export function createServiceConfig(env: Env.ImportMeta) {
|
|||||||
url = 'http://192.168.0.230:8086';
|
url = 'http://192.168.0.230:8086';
|
||||||
}else{
|
}else{
|
||||||
// url = window.location.origin;
|
// url = window.location.origin;
|
||||||
url = 'http://192.168.0.230:8086';
|
url = '/api';
|
||||||
}
|
}
|
||||||
const httpConfig: App.Service.SimpleServiceConfig = {
|
const httpConfig: App.Service.SimpleServiceConfig = {
|
||||||
baseURL: url,
|
baseURL: url,
|
||||||
|
|||||||
Reference in New Issue
Block a user