Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-shell
Commits
58e64dd8
Commit
58e64dd8
authored
Dec 11, 2015
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be more consistent about default gitlab_url
parent
ff84530c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
config.yml.example
config.yml.example
+1
-1
lib/gitlab_config.rb
lib/gitlab_config.rb
+1
-1
No files found.
config.yml.example
View file @
58e64dd8
...
...
@@ -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
...
...
lib/gitlab_config.rb
View file @
58e64dd8
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment