From 7622c9b4b61a7f2f6dec6ea662e841e76f4bedaf Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 25 Jun 2019 14:59:39 +0800 Subject: [PATCH] =?UTF-8?q?vnc=E7=9A=84url=E5=A4=9A=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/games_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index 93b27e8b2..5fe230d32 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 - @vnc_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