Skip to content

Commit

Permalink
[full-vnc] Automatically reconnect noVNC if the connection is dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
jankeromnes authored Apr 6, 2020
1 parent a0bd198 commit 5a991b4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions full-vnc/novnc-index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<!--
Used to append options to vnc.html
- autoconnect .. To automatically connect on the host
- resize=scale .. To scale the resolution based on used preview
This static HTML file simply redirects to /vnc.html, and configures the following options:
* autoconnect - Automatically connect as soon as the page has finished loading.
* reconnect - Automatically reconnect if the connection is dropped.
* resize=scale - Automatically resize the remote session to fit inside the preview window.
Source: https://github.com/novnc/noVNC/blob/master/docs/EMBEDDING.md
-->
<html><head><meta http-equiv="Refresh" content="0; url=vnc.html?resize=scale&autoconnect=true"></head></html>
<html><head><meta http-equiv="Refresh" content="0; url=vnc.html?autoconnect=true&reconnect=true&resize=scale"></head></html>

0 comments on commit 5a991b4

Please sign in to comment.