mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
bug #2013: Fix VNC secure websockets
This commit is contained in:
1 parent
21d27db973
commit
4b964caa56
2 files changed
+2
-2
No files matched your search
@@ -2887,7 +2887,7 @@ function setupVNC(){
|
||||
|
||||
function vncCallback(request,response){
|
||||
rfb = new RFB({'target': $D('VNC_canvas'),
|
||||
'encrypt': $('#config_table #wss_checkbox').is(':checked'),
|
||||
'encrypt': config['user_config']['vnc_wss'] == "yes",
|
||||
'true_color': true,
|
||||
'local_cursor': true,
|
||||
'shared': true,
|
||||
|
||||
@@ -290,7 +290,7 @@ get '/config' do
|
||||
uconf = {
|
||||
:user_config => {
|
||||
:lang => session[:lang],
|
||||
:wss => session[:wss],
|
||||
:vnc_wss => session[:vnc_wss],
|
||||
},
|
||||
:system_config => {
|
||||
:marketplace_url => $conf[:marketplace_url],
|
||||
|
||||
Reference in new issue
Block a user