mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
api linking
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user