VNC实训问题

dev_local_2
daiao 6 years ago
parent d8e5508ed9
commit 461d61454c

@ -951,7 +951,7 @@ class GamesController < ApplicationController
raise("实训云平台繁忙繁忙等级99") raise("实训云平台繁忙繁忙等级99")
end end
@vnc_url = @vnc_url =
if request.subdomain == "pre-newweb" || request.subdomain == "test-newweb" if request.scheme == "http"
# 无域名版本 # 无域名版本
"http://#{service_host}:#{res['port']}/vnc_lite.html?password=headless" "http://#{service_host}:#{res['port']}/vnc_lite.html?password=headless"
else else

Loading…
Cancel
Save