2011-05-11 01:32:21 +02:00
|
|
|
# This file is used by Rack-based servers to start the application.
|
|
|
|
|
2023-05-12 13:01:12 +02:00
|
|
|
require File.expand_path('config/environment', __dir__)
|
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
|