-
-
Save halorgium/0f72d15dc9f61d7b53ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If the Rackup is located at /home/rack/app1/config.ru | |
# For a request "/foo/bar", this should return "/foo/bar". | |
# Instead it returns "/home/rack/app1/public", which is the DOCUMENT_ROOT | |
app = lambda {|env| | |
[200, {}, "PATH_INFO: #{env['PATH_INFO']}" | |
} | |
run app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment