diff --git a/stirling-pdf/src/main/resources/static/js/homecard.js b/stirling-pdf/src/main/resources/static/js/homecard.js index 8f5a92f01..7da818d05 100644 --- a/stirling-pdf/src/main/resources/static/js/homecard.js +++ b/stirling-pdf/src/main/resources/static/js/homecard.js @@ -218,7 +218,7 @@ document.addEventListener('DOMContentLoaded', async function () { }); } try { - const response = await fetch('files/popularity.txt'); + const response = await fetch('/files/popularity.txt'); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); }