update workers link so no more limits

This commit is contained in:
Samidy 2026-04-06 22:49:15 +03:00
parent 91d69b4e1a
commit 6e3ae8a04e

View file

@ -3883,7 +3883,7 @@ export class UIRenderer {
async function fetchAotyWorker(album, artist) {
try {
const response = await fetch(
`https://aoty-critics.samidy.workers.dev/?artist=${artist}&album=${album}`
`https://aoty-api.hnh65483.workers.dev/?artist=${artist}&album=${album}`
);
const data = await response.json();
@ -3907,7 +3907,9 @@ export class UIRenderer {
reviewdiv.style.paddingBottom = '1rem';
reviewdiv.style.borderBottom = '1px solid var(--border)';
const publication = decodeHtml(review.publication || review.source || 'Unknown Publication');
const publication = decodeHtml(
review.publication || review.source || 'Unknown Publication'
);
const author = decodeHtml(review.author || '');
const quote = decodeHtml(review.text || review.quote || 'No review text available.');