We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f74f819 commit 5fa8347Copy full SHA for 5fa8347
src/js/fetchRssData.js
@@ -2,7 +2,7 @@ import axios from "axios";
2
import { model } from "./model/index.js";
3
4
export const fetchRssData = (link) => {
5
- const proxyUrl = `https://allorigins.hexlet.app/url=${encodeURIComponent(link)}&disableCache=true`;
+ const proxyUrl = `https://allorigins.hexlet.app/?url=${encodeURIComponent(link)}&disableCache=true`;
6
console.log(proxyUrl.searchParams.get('url'));
7
return axios
8
.get(proxyUrl)
0 commit comments