1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Merge pull request #104 from pzol/master

SCRIPT_NAME should be passed from env to allow mounting apps
This commit is contained in:
Evan Phoenix 2012-06-03 10:12:18 -07:00
commit d6e43d74b8

View file

@ -62,7 +62,7 @@ module Puma
"rack.multithread".freeze => true,
"rack.multiprocess".freeze => false,
"rack.run_once".freeze => true,
"SCRIPT_NAME".freeze => "",
"SCRIPT_NAME".freeze => ENV['SCRIPT_NAME'] || "",
# Rack blows up if this is an empty string, and Rack::Lint
# blows up if it's nil. So 'text/plain' seems like the most