diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index 67fdbfb9e..93b27e8b2 100644 --- a/app/controllers/games_controller.rb +++ b/app/controllers/games_controller.rb @@ -72,7 +72,7 @@ class GamesController < ApplicationController if res && res['code'].to_i != 0 raise("实训云平台繁忙(繁忙等级:99)") end - @url = "http://#{service_host}:#{res['port']}}/vnc_lite.html?password=headless" + @vnc_url = "http://#{service_host}:#{res['port']}}/vnc_lite.html?password=headless" rescue Exception => e Rails.logger.error(e.message) end