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:
authorAlec Leamas <leamas.alec@gmail.com>2011-01-10 01:31:55 +0300
committerAlec Leamas <leamas.alec@gmail.com>2011-01-10 01:38:36 +0300
commite09771d9b440c14302c3ad265ee7c12afc936d48 (patch)
treeb0dc61b08aa567e68d8e8fceb7c3e0750eea9325 /config.ru
parente01fb62eeb5ee84200ba93dd7cc543c0d25d2dc4 (diff)
Create a separate webfinger service.
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru7
1 files changed, 6 insertions, 1 deletions
diff --git a/config.ru b/config.ru
index 9cdc2591c..d01927cad 100644
--- a/config.ru
+++ b/config.ru
@@ -5,8 +5,13 @@
# 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__)
+require 'lib/host-meta'
+#use Rack::FiberPool
+
+map "/.well-known" do
+ run HostMeta::File.new( "public/well-known")
+end
map AppConfig[:pod_uri].path do
use Rack::ChromeFrame, :minimum => 8