We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 785aa0f commit 8ca528dCopy full SHA for 8ca528d
1 file changed
evaluationserver/config.ru
@@ -1,4 +1,11 @@
1
# This file is used by Rack-based servers to start the application.
2
3
-require ::File.expand_path('../config/environment', __FILE__)
4
-run Rails.application
+require ::File.expand_path('../config/environment', __FILE__)
+
5
+if ENV['RAILS_RELATIVE_URL_ROOT']
6
+ map ENV['RAILS_RELATIVE_URL_ROOT'] do
7
+ run Rails.application
8
+ end
9
+else
10
11
+end
0 commit comments