context-path 대응

This commit is contained in:
현성필
2024-01-23 14:44:00 +09:00
parent 1e059a8cf7
commit be1053d832
6 changed files with 81 additions and 37 deletions
+3 -3
View File
@@ -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();
}