Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Commit

Permalink
Reload page after 30 seconds on reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
flatsiedatsie committed Jun 11, 2020
1 parent cd13c6d commit 9b2c8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@


reboot.addEventListener('click', () => {
content.innerHTML = '<h2>Rebooting...</h2><p>This page will reload automatically in 20 second. Or <a href="/" style="color:white">click here</a> to try now.</p>';
content.innerHTML = '<h2>Rebooting...</h2><p>This page will reload automatically in 30 seconds. Or <a href="/" style="color:white">click here</a> to try now.</p>';
window.API.postJson('/settings/system/actions', {action: 'restartSystem'}).catch(console.error);

var getUrl = window.location;
Expand Down

0 comments on commit 9b2c8cc

Please sign in to comment.