Default path 'websockify' for Clojure Websockify.
The Jetty WebSocket server code used by the Clojure version of websockify doesn't support WebSocket and Web at the same path so pass in a default value for the path so that we can support the Clojure version websockify.
This commit is contained in:
parent
e79917c3db
commit
523cc4d6ab
2
vnc.html
2
vnc.html
|
@ -122,7 +122,7 @@
|
||||||
<li><input id="noVNC_shared" type="checkbox"> Shared Mode</li>
|
<li><input id="noVNC_shared" type="checkbox"> Shared Mode</li>
|
||||||
<li><input id="noVNC_view_only" type="checkbox"> View Only</li>
|
<li><input id="noVNC_view_only" type="checkbox"> View Only</li>
|
||||||
<li><input id="noVNC_connectTimeout" type="input"> Connect Timeout (s)</li>
|
<li><input id="noVNC_connectTimeout" type="input"> Connect Timeout (s)</li>
|
||||||
<li><input id="noVNC_path" type="input"> Path</li>
|
<li><input id="noVNC_path" type="input" value="websockify"> Path</li>
|
||||||
<hr>
|
<hr>
|
||||||
<!-- Stylesheet selection dropdown -->
|
<!-- Stylesheet selection dropdown -->
|
||||||
<li><label><strong>Style: </strong>
|
<li><label><strong>Style: </strong>
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
host = WebUtil.getQueryVar('host', null);
|
host = WebUtil.getQueryVar('host', null);
|
||||||
port = WebUtil.getQueryVar('port', null);
|
port = WebUtil.getQueryVar('port', null);
|
||||||
password = WebUtil.getQueryVar('password', '');
|
password = WebUtil.getQueryVar('password', '');
|
||||||
path = WebUtil.getQueryVar('path', '');
|
path = WebUtil.getQueryVar('path', 'websockify');
|
||||||
if ((!host) || (!port)) {
|
if ((!host) || (!port)) {
|
||||||
updateState('failed',
|
updateState('failed',
|
||||||
"Must specify host and port in URL");
|
"Must specify host and port in URL");
|
||||||
|
|
Loading…
Reference in New Issue