Commit 16ac959f authored by 박민석's avatar 박민석

fix lint

parent daaea9ee
Pipeline #20800 passed with stages
in 4 minutes and 5 seconds
/* eslint-disable no-undef */
;(function () {
'use strict'
......@@ -64,7 +65,7 @@
messageItem.textContent = '뱅크웨어글로벌 소프트웨어 연구소 챗봇입니다. 어떤 제품 가이드에 대한 질문을 하시겠습니까?'
chatBody.appendChild(messageItem)
products.forEach(product => {
products.forEach((product) => {
const productItem = document.createElement('li')
productItem.textContent = product
productItem.addEventListener('click', () => {
......@@ -170,7 +171,7 @@
docsType: docType,
}
fetch('/ask', {
fetch('http://182.162.100.161:13002/ask', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
......@@ -206,7 +207,7 @@
}
}
function createAiMessage(message) {
function createAiMessage (message) {
const messageItem = document.createElement('pre')
messageItem.className = 'message ai'
messageItem.textContent = message
......
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