From 6a9e103114520095750d6330e49f69f35a52cff9 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 28 Feb 2023 12:19:57 +0000 Subject: [PATCH] api linking --- frontend/src/conversation/conversationApi.ts | 2 +- frontend/src/preferences/preferenceApi.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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',