💫 Increase time between stages on initilization screen

This commit is contained in:
Alicia Sykes 2024-04-28 20:40:57 +01:00
parent 21eb2a604d
commit a327bf2349
1 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@
}
body {
background: #141b33;
background: #0d1220;
display: flex;
flex-direction: column;
justify-content: center;
@ -197,12 +197,12 @@
</style>
<script>
const refreshRate = 8000;
// Refresh at interval
// Refresh the page every 10 seconds
const refreshRate = 10000;
setTimeout(() => { location.reload(); }, refreshRate);
// Get current stage
let initStage = parseInt(sessionStorage.getItem('initStage') || 0);
// Get current stage
let initStage = parseInt(sessionStorage.getItem('initStage') || 0);
// Check if stage in session storage is old, and if so, reset it
const now = Math.round(Date.now()/1000);
@ -262,4 +262,4 @@
</script>
</body>
</html>
</html>