
--- client/resources/api/index.js
+++ client/resources/api/index.js
... | ... | @@ -11,6 +11,8 @@ |
11 | 11 |
|
12 | 12 |
const excludeCtxUrls = [ |
13 | 13 |
'/sys/cntxtPth/findLatestCntxtPth.json' // Context Path 정보 호출 |
14 |
+ , '/sys/loginPolicy/getLoginMode.json' // 로그인 모드 정보 호출 |
|
15 |
+ , '/sys/loginPolicy/findByStorageMode.json' // 스토리지 모드 정보 호출 |
|
14 | 16 |
] |
15 | 17 |
|
16 | 18 |
apiClient.interceptors.request.use( |
... | ... | @@ -18,7 +20,6 @@ |
18 | 20 |
const store = getGlobalStore(); // 전역 스토어 가져오기 |
19 | 21 |
const excludeCtxUrl = excludeCtxUrls.some(url => config.url.includes(url)); |
20 | 22 |
const contextPath = store?.state.contextPath || ''; |
21 |
- console.log("Context Path:", contextPath); |
|
22 | 23 |
if(!excludeCtxUrl) { |
23 | 24 |
config.url = contextPath + config.url; // 요청 시 Context Path 추가 |
24 | 25 |
} |
--- client/views/index.js
+++ client/views/index.js
... | ... | @@ -25,9 +25,6 @@ |
25 | 25 |
const ctx = await contextPath(); |
26 | 26 |
const strgMode = await storageMode(); |
27 | 27 |
const lgnMode = await loginMode(); |
28 |
- console.log("Context Path:", ctx); |
|
29 |
- console.log("Storage Mode:", strgMode); |
|
30 |
- console.log("Login Mode:", lgnMode); |
|
31 | 28 |
|
32 | 29 |
const store = createAppStore(ctx, strgMode, lgnMode); |
33 | 30 |
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?