test new url
This commit is contained in:
parent
7863e1cbb7
commit
8f21c9fd08
12
sheep/3.js
12
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');
|
||||
|
|
Loading…
Reference in New Issue