Commit 2444eaadaad89a937bce260b56791fbed16892fd
Committed by
Diego Camarinha
1 parent
936cc039
[Colab] config.ru set to mount at the relative_url_root if set
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
config.ru
| 1 | # This file is used by Rack-based servers to start the application. | 1 | # This file is used by Rack-based servers to start the application. |
| 2 | 2 | ||
| 3 | require ::File.expand_path('../config/environment', __FILE__) | 3 | require ::File.expand_path('../config/environment', __FILE__) |
| 4 | -run Rails.application | 4 | +#run Rails.application |
| 5 | + | ||
| 6 | +map Mezuro::Application.config.relative_url_root || "/" do | ||
| 7 | + run Rails.application | ||
| 8 | +end |