diaspora/config.ru
Alec Leamas 18827b40d1 Mount application on proper location
Uses mapping in config.ru to respect sub-uri settings in pod_uri.
2011-01-09 23:37:47 +01:00

15 lines
500 B
Ruby

# Copyright (c) 2010, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
#use Rack::FiberPool
require ::File.expand_path('../lib/chrome_frame', __FILE__)
map AppConfig[:pod_uri].path do
use Rack::ChromeFrame, :minimum => 8
use Rack::ShowExceptions
run Diaspora::Application
end