diff --git a/frontend/src/conversation/conversationApi.ts b/frontend/src/conversation/conversationApi.ts index dfa5a147..6db71392 100644 --- a/frontend/src/conversation/conversationApi.ts +++ b/frontend/src/conversation/conversationApi.ts @@ -20,7 +20,7 @@ export function fetchAnswerApi( '/' + selectedDocs.model; - return fetch('https://docsgpt.arc53.com/api/answer', { + return fetch('https://docsapi.arc53.com/api/answer', { method: 'POST', headers: { 'Content-Type': 'application/json', diff --git a/frontend/src/preferences/preferenceApi.ts b/frontend/src/preferences/preferenceApi.ts index 9ffdc7ba..76a5e671 100644 --- a/frontend/src/preferences/preferenceApi.ts +++ b/frontend/src/preferences/preferenceApi.ts @@ -53,7 +53,7 @@ export function setLocalRecentDocs(doc: Doc): void { const docPath = doc.language + '/' + namePath + '/' + doc.version + '/' + doc.model; - fetch('https://docsgpt.arc53.com/api/docs_check', { + fetch('https://docsapi.arc53.com/api/docs_check', { method: 'POST', headers: { 'Content-Type': 'application/json',