prepared stuff for easier deployment
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
# This file is used by Rack-based servers to start the application.
|
||||
|
||||
require ::File.expand_path('../config/environment', __FILE__)
|
||||
run Rails.application
|
||||
if Rails.env.production?
|
||||
run Rack::URLMap.new("/backoffice" => Rails::application)
|
||||
else
|
||||
run Rails.application
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user