Commit 72e1295b0fbdc2d8caa9973e97b6cd23151da98d

Authored by Rafael Manzo
Committed by Eduardo Silva Araújo
1 parent 30dcd8b6
Exists in colab

[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 1 # This file is used by Rack-based servers to start the application.
2 2  
3 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
... ...