foodsoft/config.ru
2021-03-02 09:12:19 +01:00

8 lines
253 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