discourse/config.ru
2017-07-28 10:20:09 +09:00

6 lines
232 B
Ruby

# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
map ActionController::Base.config.try(:relative_url_root) || "/" do
run Discourse::Application
end