debian-mirror-gitlab/config.ru

16 lines
361 B
Text
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
2014-09-02 18:07:02 +05:30
# This file is used by Rack-based servers to start the application.
2019-03-02 22:35:43 +05:30
require ::File.expand_path('../config/environment', __FILE__)
2014-09-02 18:07:02 +05:30
2018-03-17 18:26:18 +05:30
warmup do |app|
client = Rack::MockRequest.new(app)
client.get('/')
end
2021-10-27 15:23:28 +05:30
map ENV['RAILS_RELATIVE_URL_ROOT'].presence || "/" do
2018-03-27 19:54:05 +05:30
use Gitlab::Middleware::ReleaseEnv
2014-09-02 18:07:02 +05:30
run Gitlab::Application
end