Commit a79f28316c2c7291ce7d70f5712cf6939614a8be
Committed by
Sergio Oliveira
1 parent
c3194b0f
Exists in
master
and in
49 other branches
Fixs relative url for gitlab assets.
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
cookbooks/gitlab/recipes/default.rb
... | ... | @@ -94,3 +94,7 @@ execute 'selinux-gitlab' do |
94 | 94 | command 'selinux-install-module /etc/selinux/local/gitlab.te' |
95 | 95 | action :nothing |
96 | 96 | end |
97 | + | |
98 | +execute 'fix-relative-url-for-assets' do | |
99 | + command 'sed -i \'s/# config.relative_url_root = "\/gitlab"/config.relative_url_root = "\/gitlab"/\' config/application.rb' | |
100 | +end | ... | ... |