Add files via upload
This commit is contained in:
parent
8eb268753d
commit
ba10c416ef
@ -3,10 +3,10 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
const comingSoonImage = document.getElementById("fullScreenImage");
|
const comingSoonImage = document.getElementById("fullScreenImage");
|
||||||
|
|
||||||
// Check if the domain is working
|
// Check if the domain is working
|
||||||
fetch('https://store.debros.io', { method: 'HEAD', mode: 'no-cors' })
|
fetch('https://dapps.debros.io', { method: 'HEAD', mode: 'no-cors' })
|
||||||
.then(response => {
|
.then(response => {
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
window.location.href = 'https://store.debros.io';
|
window.location.href = 'https://dapps.debros.io';
|
||||||
} else {
|
} else {
|
||||||
showComingSoonMessage();
|
showComingSoonMessage();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user