test new url

This commit is contained in:
jumping283 2023-02-08 12:41:26 -08:00 committed by GitHub
parent 7863e1cbb7
commit 8f21c9fd08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -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');