We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33e3ad1 commit 9337326Copy full SHA for 9337326
config.ru
@@ -1,3 +1,6 @@
1
# This file is used by Rack-based servers to start the application.
2
require ::File.expand_path('../config/environment', __FILE__)
3
-run Discourse::Application
+map ActionController::Base.config.try(:relative_url_root) || "/" do
4
+ run Discourse::Application
5
+end
6
+
0 commit comments