update workers link so no more limits
This commit is contained in:
parent
91d69b4e1a
commit
6e3ae8a04e
1 changed files with 4 additions and 2 deletions
6
js/ui.js
6
js/ui.js
|
|
@ -3883,7 +3883,7 @@ export class UIRenderer {
|
||||||
async function fetchAotyWorker(album, artist) {
|
async function fetchAotyWorker(album, artist) {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
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();
|
const data = await response.json();
|
||||||
|
|
||||||
|
|
@ -3907,7 +3907,9 @@ export class UIRenderer {
|
||||||
reviewdiv.style.paddingBottom = '1rem';
|
reviewdiv.style.paddingBottom = '1rem';
|
||||||
reviewdiv.style.borderBottom = '1px solid var(--border)';
|
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 author = decodeHtml(review.author || '');
|
||||||
const quote = decodeHtml(review.text || review.quote || 'No review text available.');
|
const quote = decodeHtml(review.text || review.quote || 'No review text available.');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue