This repository has been archived by the owner on Dec 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
404 when using Rack::Builder #5
Comments
I tried couple of other things like. app = Rack::URLMap.new('/hello' => Hello.new,
'/' => lambda { |env| [200, {'Content-Type' => 'text/plain'}, ' What did u expect ?'] })
run app What works on the other side is when I don't use map inside the app = Rack::Builder.new do
#use Request
run Hello.new
end
run app So |
Wonder if this is related to our use of Rack::MockRequest |
Is there any workaround to be able to use different Rack endpoints ? |
Not that I know of. Perhaps we're using Rack incorrectly here? |
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Does reel-rack support Rack::Builder in the config.ru ?
When I try to use map inside a
Rack::Builder.new
block, I get only 404 responses.I tried with:
all the URLs above (
/
,/hello
,/world
) sends back 404The text was updated successfully, but these errors were encountered: