Commit 58e64dd8 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Be more consistent about default gitlab_url

parent ff84530c
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
user: git user: git
# Url to gitlab instance. Used for api calls. # 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 # 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 # 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 # only listen on a Unix domain socket. For Unix domain sockets use
......
...@@ -24,7 +24,7 @@ class GitlabConfig ...@@ -24,7 +24,7 @@ class GitlabConfig
end end
def gitlab_url def gitlab_url
(@config['gitlab_url'] ||= "http://localhost").sub(%r{/*$}, '') (@config['gitlab_url'] ||= "http://localhost:8080").sub(%r{/*$}, '')
end end
def http_settings def http_settings
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment