Commit 1f272b30 authored by 박민석's avatar 박민석

rollback

parent 5016fa8c
Pipeline #20893 passed with stages
in 3 minutes and 46 seconds
...@@ -171,26 +171,17 @@ ...@@ -171,26 +171,17 @@
isLoading = true isLoading = true
// const payload = { const payload = {
// question: message, question: message,
// docsType: docType.toLowerCase(), docsType: docType.toLowerCase(),
// } }
// fetch('https://182.162.100.161:13002/ask', { fetch('http://182.162.100.161:13002/ask', {
// method: 'POST', method: 'POST',
// headers: { headers: {
// 'Content-Type': 'application/json', 'Content-Type': 'application/json',
// }, },
// body: JSON.stringify(payload), body: JSON.stringify(payload),
// })
// .then((response) => {
// console.log(response) // response 확인 테스트
// })
// .catch((error) => {
// console.error('Chatbot Error', error)
// })
fetch('https://httpbin.org/get', {
method: 'GET',
}) })
.then((response) => { .then((response) => {
console.log(response) // response 확인 테스트 console.log(response) // response 확인 테스트
......
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