useless 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/useless/rack.rb +3 -1
- data/lib/useless/version.rb +1 -1
- metadata +1 -1
data/lib/useless/rack.rb
CHANGED
@@ -38,6 +38,8 @@ module Useless
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def call(env)
|
41
|
+
map = @map
|
42
|
+
|
41
43
|
::Rack::Builder.app do
|
42
44
|
use Middleware::Exceptions
|
43
45
|
use Low::Rack::RequestId
|
@@ -52,7 +54,7 @@ module Useless
|
|
52
54
|
use Middleware::Authentication::QueryString
|
53
55
|
use Middleware::Authentication::RequestHeader
|
54
56
|
|
55
|
-
run Low::Rack::SubdomainMap.new(Base.new,
|
57
|
+
run Low::Rack::SubdomainMap.new(Base.new, map)
|
56
58
|
end.call(env)
|
57
59
|
end
|
58
60
|
|
data/lib/useless/version.rb
CHANGED