From b7989d0ee7467df197fa23efcbb799dbb119b64e Mon Sep 17 00:00:00 2001 From: DESKTOP-TKLFCPRython Date: Sun, 31 May 2026 21:36:48 +0900 Subject: [PATCH] fix(multi): header logo dark + Manager login JSON + Jenkinsfile manual exclude MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Header.jsx: - logo: zioinfo-logo.png -> zioinfo-logo-dark.png (dark header background) GuardiaDetail.jsx: - 12 features (RPA, scraping, DR, CSAP, NL commands added) - 44 bot commands (vs 19 before) - Tech stack: Vector DB section added Jenkinsfile (root + zioinfo-web): - sparse checkout: exclude manual/ from Jenkins build - only frontend/ and backend/ checked out Manager useAuth.ts: - login: form-encoded -> JSON (ITSM accepts JSON only) Manuals: - 41_zio서버_DB_연결정보.md - 42_zio서버_소프트웨어_구성도.md Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/hooks/useAuth.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/hooks/useAuth.ts b/frontend/src/hooks/useAuth.ts index 8a628b6..fbf9f0e 100644 --- a/frontend/src/hooks/useAuth.ts +++ b/frontend/src/hooks/useAuth.ts @@ -19,10 +19,11 @@ export function useAuth() { }, []) const login = async (username: string, password: string) => { - const params = new URLSearchParams({ username, password }) - const r = await guardiaApi.post('/api/auth/login', params, { - headers: { 'Content-Type': 'application/x-www-form-urlencoded' } - }) + // JSON 방식 (ITSM은 JSON 로그인만 지원) + const r = await guardiaApi.post('/api/auth/login', + { username, password }, + { headers: { 'Content-Type': 'application/json' } } + ) const { access_token } = r.data sessionStorage.setItem('gm_token', access_token) const me = await guardiaApi.get('/api/auth/me')