diff options
author | Vincent Giersch <vincent@giersch.fr> | 2013-01-29 16:22:45 +0000 |
---|---|---|
committer | Vincent Giersch <vincent@giersch.fr> | 2013-01-29 16:22:45 +0000 |
commit | 706e01d97a7291adb719be57265e6d3728601a8f (patch) | |
tree | 77fdae186f83a2bfecb746ebb1527ddd83461f70 /config.ru | |
parent | 30bd6637e93196e55d7f06f4913e0e7fbdc57ac1 (diff) | |
download | gitlab-ci-706e01d97a7291adb719be57265e6d3728601a8f.tar.gz |
Added RAILS_RELATIVE_URL_ROOT support
Diffstat (limited to 'config.ru')
-rw-r--r-- | config.ru | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,7 @@ # This file is used by Rack-based servers to start the application. require ::File.expand_path('../config/environment', __FILE__) -run GitlabCi::Application + +map ENV['RAILS_RELATIVE_URL_ROOT'] || "/" do + run GitlabCi::Application +end |