Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah Mei <sarahmei@gmail.com>2011-01-10 05:32:01 +0300
committerSarah Mei <sarahmei@gmail.com>2011-01-10 05:32:01 +0300
commit38102ebda782bfd2d0135c849913c7bc57265931 (patch)
treed07424cd2d6553527d0d353e15a11b5ee1369435 /config.ru
parentb865c20b2d62703c719d712549165369f0f2db87 (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.ru10
1 files changed, 3 insertions, 7 deletions
diff --git a/config.ru b/config.ru
index d01927cad..836bfedd3 100644
--- a/config.ru
+++ b/config.ru
@@ -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