mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 17:13:15 +00:00
adds default doc
This commit is contained in:
@@ -12,13 +12,15 @@ export function fetchAnswerApi(
|
||||
}
|
||||
|
||||
const docPath =
|
||||
selectedDocs.language +
|
||||
'/' +
|
||||
namePath +
|
||||
'/' +
|
||||
selectedDocs.version +
|
||||
'/' +
|
||||
selectedDocs.model;
|
||||
selectedDocs.name === 'default'
|
||||
? 'default'
|
||||
: selectedDocs.language +
|
||||
'/' +
|
||||
namePath +
|
||||
'/' +
|
||||
selectedDocs.version +
|
||||
'/' +
|
||||
selectedDocs.model;
|
||||
|
||||
return fetch('https://docsapi.arc53.com/api/answer', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user