Skip to content

Commit

Permalink
Add 5 second interval automatic page reload to
Browse files Browse the repository at this point in the history
default 404 page for unserved ports.
  • Loading branch information
Rohan Patra committed Sep 29, 2021
1 parent 5a134c6 commit 3fc3c14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/ws-proxy/public/port-not-found.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ <h2 class="title">Port <span id="port"></span> Not Found</h2>
document.getElementById('refresh').addEventListener('click', function () {
window.location.reload(true);
});
window.setInterval('window.location.reload(true);', 5000);
</script>
</body>

Expand Down

0 comments on commit 3fc3c14

Please sign in to comment.