diff options
author | Sarah Mei <sarahmei@gmail.com> | 2011-01-10 05:32:01 +0300 |
---|---|---|
committer | Sarah Mei <sarahmei@gmail.com> | 2011-01-10 05:32:01 +0300 |
commit | 38102ebda782bfd2d0135c849913c7bc57265931 (patch) | |
tree | d07424cd2d6553527d0d353e15a11b5ee1369435 /config.ru | |
parent | b865c20b2d62703c719d712549165369f0f2db87 (diff) |
Revert "Mount application on proper location" - changes cause app to fail when there's no trailing / on the pod_url.
This reverts commit 18827b40d1f5dcb3322fca32075bc8a98ca8a2dc.
Diffstat (limited to 'config.ru')
-rw-r--r-- | config.ru | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -6,15 +6,11 @@ require ::File.expand_path('../config/environment', __FILE__) require ::File.expand_path('../lib/chrome_frame', __FILE__) -require 'lib/host-meta' -#use Rack::FiberPool +require ::File.expand_path('../lib/host-meta', __FILE__) map "/.well-known" do run HostMeta::File.new( "public/well-known") end -map AppConfig[:pod_uri].path do - use Rack::ChromeFrame, :minimum => 8 - use Rack::ShowExceptions - run Diaspora::Application -end +use Rack::ChromeFrame, :minimum => 8 +run Diaspora::Application |