diff --git a/src/services/yahooFinanceService.tsx b/src/services/yahooFinanceService.tsx index 915f974..55096e9 100644 --- a/src/services/yahooFinanceService.tsx +++ b/src/services/yahooFinanceService.tsx @@ -38,7 +38,7 @@ interface YahooChartResult { } const isDev = import.meta.env.DEV; -const API_BASE = isDev ? '/yahoo' : 'https://api.allorigins.win/raw?url=' + encodeURIComponent('https://query1.finance.yahoo.com'); +const API_BASE = isDev ? '/yahoo' : 'https://query1.finance.yahoo.com'; export const searchAssets = async (query: string): Promise => { try {