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 6587123 commit d82fcbaCopy full SHA for d82fcba
src/js/fetchRssData.js
@@ -2,8 +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/get?disableCache=true&url=${encodeURIComponent(link)}`;
6
- // console.log(proxyUrl.searchParams.get('url'));
+ const proxyUrl = `https://allorigins.hexlet.app/raw?get?disableCache=true&url=${encodeURIComponent(link)}`;
7
return axios
8
.get(proxyUrl)
9
.then((response) => {
0 commit comments