Commit 80df7723 authored by 박민석's avatar 박민석

update chat.js

parent b5fcd118
Pipeline #21167 passed with stages
in 3 minutes and 47 seconds
...@@ -164,10 +164,10 @@ ...@@ -164,10 +164,10 @@
chatBody.appendChild(user) chatBody.appendChild(user)
chatBody.scrollTop = chatBody.scrollHeight chatBody.scrollTop = chatBody.scrollHeight
// if (!docType) { if (!docType) {
// createAiMessage('가이드 도움에 필요한 제품을 선택해주세요.') createAiMessage('가이드 도움에 필요한 제품을 선택해주세요.')
// return return
// } }
isLoading = true isLoading = true
...@@ -181,8 +181,7 @@ ...@@ -181,8 +181,7 @@
const payload = { const payload = {
question: message, question: message,
// docsType: docType.toLowerCase(), docsType: docType.toLowerCase(),
docsType: 'bxi',
} }
fetch('https://docs.bxi.link/ask', { fetch('https://docs.bxi.link/ask', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment