diff --git a/vnc_lite.html b/vnc_lite.html index 4a96d448..adbc4cc6 100644 --- a/vnc_lite.html +++ b/vnc_lite.html @@ -187,7 +187,11 @@ } var password = WebUtil.getConfigVar('password', ''); - var path = WebUtil.getConfigVar('path', 'websockify'); + + var path = WebUtil.getConfigVar('path', null); + if (!path) { + path = WebUtil.readCookie('noVNC_setting_path', 'websockify'); + } // If a token variable is passed in, set the parameter in a cookie. // This is used by nova-novncproxy.