tiny thing

pull/142/head
Alex 1 year ago
parent 2f63bf85b5
commit 80ab638c31

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

Loading…
Cancel
Save