From 9072a2844489613b80f2c66e9819f2cb26a9d9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EB=AF=BC=EC=84=9D?= <mingr8@bagminseog-ui-MacBookAir.local> Date: Fri, 13 Sep 2024 14:29:24 +0900 Subject: [PATCH] fix lint --- src/js/08-chat.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/js/08-chat.js b/src/js/08-chat.js index 8f9aa4d..e190579 100644 --- a/src/js/08-chat.js +++ b/src/js/08-chat.js @@ -63,7 +63,9 @@ const products = ['BXM', 'BXCM', 'BXCP', 'BXI'] messageItem.className = 'message ai' - messageItem.textContent = pathname === 'swlab-docs' ? '뱅크웨어글로벌 소프트웨어 연구소 챗봇입니다. 어떤 제품 가이드에 대한 질문을 하시겠습니까?' : `뱅크웨어글로벌 소프트웨어 연구소 챗봇입니다. ${pathname.toUpperCase()}제품 가이드에 대한 질문을 해주세요.` + messageItem.textContent = pathname === 'swlab-docs' + ? '뱅크웨어글로벌 소프트웨어 연구소 챗봇입니다. 어떤 제품 가이드에 대한 질문을 하시겠습니까?' + : `뱅크웨어글로벌 소프트웨어 연구소 챗봇입니다. ${pathname.toUpperCase()}제품 가이드에 대한 질문을 해주세요.` chatBody.appendChild(messageItem) if (pathname === 'swlab-docs') { @@ -169,10 +171,10 @@ isLoading = true - const payload = { - question: message, - docsType: docType.toLowerCase(), - } + // const payload = { + // question: message, + // docsType: docType.toLowerCase(), + // } // fetch('https://182.162.100.161:13002/ask', { // method: 'POST', -- 2.18.1