However, if you have an C<app.psgi> script, then you no longer
need to specify the PSGI engine. Instead, the L<Catalyst> application class
-now has a new method C<raw_psgi_app> which returns a L<Plack> compatible coderef
+now has a new method C<psgi_app> which returns a L<PSGI> compatible coderef
which you can wrap in middleware of your choice.
Catalyst will use the .psgi for your application if it is located in the C<home>
builder {
enable ... #enable your desired middleware
- MyCatalystApp->raw_psgi_app;
+ MyCatalystApp->psgi_app;
};
And also rename C<< script/myapp.psgi >> to C<< myapp.psgi >>.