mirror of
https://github.com/mivodev/mivo.git
synced 2026-01-26 05:25:42 +07:00
Chore: Bump version to v1.1.0 and implement automated release system
This commit is contained in:
@@ -322,7 +322,8 @@ require_once ROOT . '/app/Views/layouts/header_main.php';
|
||||
// Init
|
||||
fetchInterfaces().then(() => {
|
||||
// Start Polling after interfaces loaded
|
||||
setInterval(fetchTraffic, 5000); // Every 5 seconds
|
||||
const reloadInterval = <?= ($reload_interval ?? 5) * 1000 ?>; // Convert sec to ms
|
||||
setInterval(fetchTraffic, reloadInterval);
|
||||
fetchTraffic();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user