vnc改成https

dev_forum
daiao 6 years ago
parent cd3034e2a2
commit 1771ab0870

@ -72,7 +72,7 @@ class GamesController < ApplicationController
# 无域名版本
#@vnc_url = "http://#{service_host}:#{res['port']}/vnc_lite.html?password=headless"
# 有域名版本
@vnc_url = "http://#{res['port']}.#{service_host}/vnc_lite.html?password=headless"
@vnc_url = "https://#{res['port']}.#{service_host}/vnc_lite.html?password=headless"
rescue Exception => e
Rails.logger.error(e.message)
end

Loading…
Cancel
Save