diff --git a/sheep/3.js b/sheep/3.js index 6d0573a..dbe9b3c 100644 --- a/sheep/3.js +++ b/sheep/3.js @@ -22,9 +22,11 @@ document.addEventListener("DOMContentLoaded", function(e) { document.body.appendChild(homeButton); }, {once: true}); - $(document).ready(function() { - if (window.location.href.indexOf(".netlify.app") > -1) { - location.href = "https://andrewsapps.onrender.com/maydo"; - } - }); + // $(document).ready(function() { +// if (window.location.href.indexOf(".netlify.app") > -1) { +// location.href = "https://andrewsapps.onrender.com/maydo"; + // } + // }); +var url = window.location.toString(); +window.location = url.replace('.netlify.app', '.onrender.com');