context-path 대응
This commit is contained in:
@@ -21,10 +21,10 @@ window.MonacoEnvironment = {
|
||||
|
||||
export default class APITestManager {
|
||||
|
||||
constructor(servers) {
|
||||
this.apiTester = new APITester();
|
||||
constructor(servers, options = {}) {
|
||||
this.apiTester = new APITester(options.contextPath);
|
||||
this.apiTester.init(servers);
|
||||
this.apiScenario = new APIScenario(this.apiTester);
|
||||
this.apiScenario = new APIScenario(this.apiTester, options.contextPath);
|
||||
this.apiScenario.init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user