foodsoft/config.ru
2019-05-10 17:48:04 +02:00

8 lines
254 B
Ruby

# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
# https://gist.github.com/ebeigarts/5450422
map ENV['RAILS_RELATIVE_URL_ROOT'] || '/' do
run Foodsoft::Application
end