2011-05-11 01:32:21 +02:00
|
|
|
# This file is used by Rack-based servers to start the application.
|
|
|
|
|
2021-03-01 15:27:26 +01:00
|
|
|
require ::File.expand_path('../config/environment', __FILE__)
|
2019-05-10 17:48:04 +02:00
|
|
|
|
|
|
|
# https://gist.github.com/ebeigarts/5450422
|
2022-05-27 21:57:06 +02:00
|
|
|
map ENV.fetch('RAILS_RELATIVE_URL_ROOT', '/') do
|
2019-05-10 17:48:04 +02:00
|
|
|
run Foodsoft::Application
|
|
|
|
end
|