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 2349edf commit 99e3d0eCopy full SHA for 99e3d0e
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/get?url=${encodeURIComponent(link)}&disableCache=true`;
+ const proxyUrl = `https://allorigins.hexlet.app/get?disableCache=true&url=${encodeURIComponent(link)}`;
6
// console.log(proxyUrl.searchParams.get('url'));
7
return axios
8
.get(proxyUrl)
0 commit comments