fix: 环境设置beaseUrl

This commit is contained in:
chenjianxing 2020-08-04 17:54:36 +08:00
parent ff76a7e69d
commit 9d293f653e

View File

@ -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 : '')));
} }
} }
} }