Skip to content

More fixes for supporting Relative URL

Ramya Authappan requested to merge github/fork/anezi/relative-url-patch into master

Created by: amouhzi

  • Fixes HTTP(S) clone
  • Fixes assets (javascript/css)
  1. Apply fix:

Change the necessary files.

  1. 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'
  1. Update assets:
$ sudo -u git -H RAILS_ENV=production bundle exec rake assets:precompile
  1. Restart gitlab:
$ sudo service gitlab restart
  1. Clean browser cache

Finally clean your browser cache.

Site demonstration:

See: https://anezi.net/git for demonstration User: demo Password: demodemo

Merge request reports

Loading