Skip to content

Commit

Permalink
Fİxed CORS policy
Browse files Browse the repository at this point in the history
  • Loading branch information
emrecoban committed Apr 9, 2023
1 parent 4018557 commit cacc6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import "./content.css";

async function fetchFavs() {
try {
const favsHTML = await (await fetch("https://turkiye.gov.tr/favori-hizmetlerim")).text();
const favsHTML = await (await fetch("/favori-hizmetlerim")).text();
const $ = cheerio.load(favsHTML);
$("a.boxList_close").remove();
$("img").remove();
Expand Down

0 comments on commit cacc6ea

Please sign in to comment.