feat: read proxied feeds from CF worker

This commit is contained in:
Marc 2024-03-18 20:32:30 -04:00
parent 3aa4b1e3bc
commit f2047d10fd
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -29,7 +29,9 @@ async function fetchFeed(
url: string,
persistedData: Feed | null,
): Promise<Feed> {
const response = await fetch(`/.netlify/functions/rss-proxy?url=${url}`);
const response = await fetch(
`https://rss-reader-api.karnov.club/?url=${url}`,
);
const responseData = await response.text();