From 5d38cd8409d4db35d378e354b3e95a0fe186be6e Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 26 Sep 2019 11:06:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E7=89=88=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E8=AF=BE=E7=A8=8B=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/welcome_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index 37efc762..e021e345 100755 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -623,7 +623,7 @@ class WelcomeController < ApplicationController # end # 如果有目录才执行 - new_giturl = "http://edugit:xinedugit#@"+g.project(shixun.gpid).http_url_to_repo.split('//').last + new_giturl = "http://educoder:xinhu1ji2qu3@"+g.project(shixun.gpid).http_url_to_repo.split('//').last.gsub("bdgit.educoder.net", "172.16.95.5:8889") logger.info("##########_------------- path: #{File.directory?("/home/pdl/educoder/tmp/repositories/local/#{local_git_path}")}") logger.info("##########_------------- path: #{"/home/pdl/educoder/tmp/repositories/local/#{local_git_path}"}") logger.info("##########_------------- new_giturl: #{new_giturl}")