I found mount_psgi (introduced in #16 ) didn't work for following code:
use Plack::App::CGIBin;
# Both /cgi-bin and /cgi-bin/ should work.
$site->mount_psgi("/cgi-bin/" => Plack::App::CGIBin->new(
root => "$app_root/cgi-bin"
)->to_app);
Potentially, fixing this could cause API incompatibility. But above code is typical use case and is important than old behavior. So, let's fix it!
I found mount_psgi (introduced in #16 ) didn't work for following code:
Potentially, fixing this could cause API incompatibility. But above code is typical use case and is important than old behavior. So, let's fix it!