feat: read proxied feeds from CF worker
This commit is contained in:
parent
3aa4b1e3bc
commit
f2047d10fd
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,9 @@ async function fetchFeed(
|
||||||
url: string,
|
url: string,
|
||||||
persistedData: Feed | null,
|
persistedData: Feed | null,
|
||||||
): Promise<Feed> {
|
): 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();
|
const responseData = await response.text();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue