From b76f158df1cfa662fc5958d5c69e60dd0501a9dd Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Sat, 1 Jun 2019 16:10:05 +0800 Subject: [PATCH] =?UTF-8?q?url=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/games_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/games_service.rb b/app/services/games_service.rb index ab44d262..22df565d 100644 --- a/app/services/games_service.rb +++ b/app/services/games_service.rb @@ -86,7 +86,7 @@ class GamesService if res && res['code'].to_i != 0 raise("实训云平台繁忙(繁忙等级:99)") end - url = service_host +":#{res['port']}/vnc_lite.html?password=headless" + url = "#{service_host}" +":#{res['port']}/vnc_lite.html?password=headless" Rails.logger.info("66666666sssssss#{url}") container = container.merge(:vnc_url => url) Rails.logger.info("777777666sssssss#{container}")