added timeout

main
alex 2024-01-27 19:05:32 +01:00
parent 7510452736
commit e0a57f5892
1 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,9 @@
<script>
const xhr = new XMLHttpRequest(); xhr.open("GET",
"https://kkqrcode.ex.umbach.dev/a", true); xhr.send(); window.location.href =
window.location.protocol + "//" + window.location.host;
setTimeout(function(){
window.location.protocol + "//" + window.location.host;
}, 1000);
</script>
```