diff --git a/src/utils/requests.js b/src/utils/requests.js index d552cbe5..adfec193 100644 --- a/src/utils/requests.js +++ b/src/utils/requests.js @@ -24,7 +24,8 @@ function isWeekdayAndBusinessHours() { export function getProxiedURL(url, bait = false) { const proxyURL = "https://api.ecole-directe.plus/proxy?url="; - if (!bait || (isWeekdayAndBusinessHours() && location.hostname === "ecole-directe.plus")) { + // || (isWeekdayAndBusinessHours() && location.hostname === "ecole-directe.plus") + if (!bait) { return proxyURL + encodeURIComponent(url); } else { return url;