support relative root urls for deploy to subdirectories

This commit is contained in:
Zachary Chai
2017-02-07 14:43:18 -05:00
parent b09ec1fc69
commit 3db284b8bf
7 changed files with 16 additions and 6 deletions

View File

@ -2,4 +2,6 @@
require_relative 'config/environment'
run Rails.application
map Greenlight::Application.config.relative_url_root || "/" do
run Rails.application
end