Open calvh opened 3 years ago
Test the following:
fetch(url, { method: 'POST', redirect: 'follow'}) .then(response => { // HTTP 301 response }) .catch(function(err) { console.info(err + " url: " + url); });
Replace occurences of window.location.replace(response.url); if it works
window.location.replace(response.url);
Test the following:
Replace occurences of
window.location.replace(response.url);
if it works