This commit is contained in:
Ryan Lovett 2018-04-18 06:14:40 +00:00 committed by GitHub
commit 7583c86fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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.