tiny thing

This commit is contained in:
Alex
2023-03-01 10:44:22 +00:00
parent 2f63bf85b5
commit 80ab638c31
2 changed files with 10 additions and 2 deletions

View File

@@ -20,7 +20,8 @@ export function fetchAnswerApi(
'/' +
selectedDocs.version +
'/' +
selectedDocs.model;
selectedDocs.model +
'/';
return fetch('https://docsapi.arc53.com/api/answer', {
method: 'POST',

View File

@@ -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: {