dev_course
daiao 5 years ago
parent d8901891f6
commit 4e47273600

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

Loading…
Cancel
Save