Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ’« Increase time between stages on initilization screen

Alicia Sykesa327bf2349c3
diff --git a/public/initialization.html b/public/initialization.html
index 49d446c5..b0e14ac1 100644
--- a/public/initialization.html
+++ b/public/initialization.html
@@ -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>
\ No newline at end of file
+</html>