add support for deploying to a subdirectory

This commit is contained in:
Josh
2018-06-18 10:28:47 -04:00
parent ce6ec0acfb
commit b2b2c641da
10 changed files with 74 additions and 54 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