Explorar o código

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.
Joel Martin %!s(int64=13) %!d(string=hai) anos
pai
achega
523cc4d6ab
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      vnc.html
  2. 1 1
      vnc_auto.html

+ 1 - 1
vnc.html

@@ -122,7 +122,7 @@
                     <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_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>
                     <!-- Stylesheet selection dropdown -->
                     <li><label><strong>Style: </strong>

+ 1 - 1
vnc_auto.html

@@ -93,7 +93,7 @@
             host = WebUtil.getQueryVar('host', null);
             port = WebUtil.getQueryVar('port', null);
             password = WebUtil.getQueryVar('password', '');
-            path = WebUtil.getQueryVar('path', '');
+            path = WebUtil.getQueryVar('path', 'websockify');
             if ((!host) || (!port)) {
                 updateState('failed',
                     "Must specify host and port in URL");