diff --git a/7project/frontend/src/pages/Dashboard.tsx b/7project/frontend/src/pages/Dashboard.tsx index 0caa584..2cb9850 100644 --- a/7project/frontend/src/pages/Dashboard.tsx +++ b/7project/frontend/src/pages/Dashboard.tsx @@ -44,7 +44,7 @@ function CurrencyRates() { // Get today's date in YYYY-MM-DD format for the API const today = new Date().toISOString().split('T')[0]; - const CNB_API_URL = `/api-cnb/cnbapi/exrates/daily?date=${today}&lang=EN`; + const CNB_API_URL = `https://api.cnb.cz/cnbapi/exrates/daily?date=${today}&lang=EN`; try { const res = await fetch(CNB_API_URL);