# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment',  __FILE__)
run Rails.application

# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment',  __FILE__)

map Publify::Application.config.relative_url_root || '/' do
  run Rails.application
end

Make the application run at the relative root URL
Make the application run at the relative root URL