diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index 10b690d0c..b2f16d570 100644 --- a/app/controllers/games_controller.rb +++ b/app/controllers/games_controller.rb @@ -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