diff options
-rw-r--r-- | config.yml.example | 2 | ||||
-rw-r--r-- | lib/gitlab_config.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config.yml.example b/config.yml.example index 8d19a97..a7e8d8a 100644 --- a/config.yml.example +++ b/config.yml.example @@ -7,7 +7,7 @@ user: git # Url to gitlab instance. Used for api calls. -# Default: http://localhost +# Default: http://localhost:8080 # You only have to change the default if you have configured Unicorn # to listen on a custom port, or if you have configured Unicorn to # only listen on a Unix domain socket. For Unix domain sockets use diff --git a/lib/gitlab_config.rb b/lib/gitlab_config.rb index a8d03f3..831f0e3 100644 --- a/lib/gitlab_config.rb +++ b/lib/gitlab_config.rb @@ -24,7 +24,7 @@ class GitlabConfig end def gitlab_url - (@config['gitlab_url'] ||= "http://localhost").sub(%r{/*$}, '') + (@config['gitlab_url'] ||= "http://localhost:8080").sub(%r{/*$}, '') end def http_settings |