mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 00:53:14 +00:00
tiny thing
This commit is contained in:
@@ -20,7 +20,8 @@ export function fetchAnswerApi(
|
||||
'/' +
|
||||
selectedDocs.version +
|
||||
'/' +
|
||||
selectedDocs.model;
|
||||
selectedDocs.model +
|
||||
'/';
|
||||
|
||||
return fetch('https://docsapi.arc53.com/api/answer', {
|
||||
method: 'POST',
|
||||
|
||||
@@ -55,7 +55,14 @@ export function setLocalRecentDocs(doc: Doc): void {
|
||||
const docPath =
|
||||
doc.name === 'default'
|
||||
? 'default'
|
||||
: doc.language + '/' + namePath + '/' + doc.version + '/' + doc.model;
|
||||
: doc.language +
|
||||
'/' +
|
||||
namePath +
|
||||
'/' +
|
||||
doc.version +
|
||||
'/' +
|
||||
doc.model +
|
||||
'/';
|
||||
fetch('https://docsapi.arc53.com/api/docs_check', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user