From 42a499815af751064198e93cde1b604ff113ad84 Mon Sep 17 00:00:00 2001 From: huang Date: Tue, 17 Nov 2015 16:34:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/configuration.yml | 2 +- config/initializers/gitlab_config.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/configuration.yml b/config/configuration.yml index 3790045aa..7c62e8988 100644 --- a/config/configuration.yml +++ b/config/configuration.yml @@ -201,7 +201,7 @@ default: judge_server: 'http://judge.trustie.net/' # Git's url - gitlab_address: 'http://gitfast.trustie.net' + gitlab_address: 'http://git.trustie.net' # specific configuration options for production environment # that overrides the default ones diff --git a/config/initializers/gitlab_config.rb b/config/initializers/gitlab_config.rb index c82b2edff..6e015d4b8 100644 --- a/config/initializers/gitlab_config.rb +++ b/config/initializers/gitlab_config.rb @@ -1,8 +1,8 @@ Gitlab.configure do |config| # config.endpoint = 'http://192.168.41.130:3000/trustie/api/v3' # API endpoint URL, default: ENV['GITLAB_API_ENDPOINT'] # config.private_token = 'cK15gUDwvt8EEkzwQ_63' # user's private token, default: ENV['GITLAB_API_PRIVATE_TOKEN'] - config.endpoint = 'http://gitfast.trustie.net/api/v3' # API endpoint URL, default: ENV['GITLAB_API_ENDPOINT'] - config.private_token = 'fPc_gBmEiSANve8TCfxW' # user's private token, default: ENV['GITLAB_API_PRIVATE_TOKEN'] + config.endpoint = 'http://git.trustie.net/api/v3' # API endpoint URL, default: ENV['GITLAB_API_ENDPOINT'] + config.private_token = 'kZUYYbAY12QSQ2Tx1zes' # user's private token, default: ENV['GITLAB_API_PRIVATE_TOKEN'] # Optional # config.user_agent = 'Custom User Agent' # user agent, default: 'Gitlab Ruby Gem [version]' # config.sudo = 'user' # username for sudo mode, default: nil