More fixes for supporting Relative URL
Created by: amouhzi
- Fixes HTTP(S) clone
- Fixes assets (javascript/css)
- Apply fix:
Change the necessary files.
- Update config/application.rb
$ sudo -u git -H vim config/application.rb
Uncomment the line nr: 73
Change assets version in line nr: 69
config.assets.version = '1.0.1'
- Update assets:
$ sudo -u git -H RAILS_ENV=production bundle exec rake assets:precompile
- Restart gitlab:
$ sudo service gitlab restart
- Clean browser cache
Finally clean your browser cache.
Site demonstration:
See: https://anezi.net/git for demonstration User: demo Password: demodemo