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:
commit
d6e43d74b8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue