mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 13:38:58 +08:00
fix: 环境设置beaseUrl
This commit is contained in:
parent
ff76a7e69d
commit
9d293f653e
@ -667,7 +667,7 @@ class JMXHttpRequest {
|
|||||||
this.protocol = environment.protocol;
|
this.protocol = environment.protocol;
|
||||||
this.domain = environment.domain;
|
this.domain = environment.domain;
|
||||||
let url = new URL(environment.protocol + "://" + environment.socket);
|
let url = new URL(environment.protocol + "://" + environment.socket);
|
||||||
this.path = this.getPostQueryParameters(request, decodeURIComponent(url.pathname));
|
this.path = this.getPostQueryParameters(request, decodeURIComponent(url.pathname + (request.path ? request.path : '')));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user