fix url
Gitea Actions Demo / build_and_push (push) Failing after 1m14s
Details
Gitea Actions Demo / build_and_push (push) Failing after 1m14s
Details
This commit is contained in:
parent
9f06b5567a
commit
08534e5451
|
|
@ -33,7 +33,7 @@ async function SavePhoto(self) {
|
||||||
// Обработка основных результатов
|
// Обработка основных результатов
|
||||||
for (let key in json.results) {
|
for (let key in json.results) {
|
||||||
if (json.description != undefined) {
|
if (json.description != undefined) {
|
||||||
text += `<div class='image-block'><div class='image-text'>${json.results[key]} (вероятность: ${Math.round(parseFloat(key) * 100)}%) <br/><a href="${json.description[json.results[key]]}" target='_blank'>Описание </a></div>`;
|
text += `<div class='image-block'><div class='image-text'>${json.results[key]} (вероятность: ${Math.round(parseFloat(key) * 100)}%) <br/><a href="/dogs-characteristics/${json.results[key]}" target='_blank'>Описание </a></div>`;
|
||||||
} else {
|
} else {
|
||||||
text += `<div class='image-block'><div class='image-text'>${json.results[key]} (вероятность: ${Math.round(parseFloat(key) * 100)}%)</div>`;
|
text += `<div class='image-block'><div class='image-text'>${json.results[key]} (вероятность: ${Math.round(parseFloat(key) * 100)}%)</div>`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue