Commit 2e5bb15fed39a01ea675b443dad4c096e190f61e

Authored by Rafael Manzo
Committed by Rafael Reggiani Manzo
1 parent 95b2beea

[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
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