Open Bug 1290995 Opened 4 years ago Updated 4 years ago
Add early hook for PSGI manipulations
It would be nice for extensions to be able to add paths to the $static_paths in app.psgi. Around https://github.com/bugzilla/bugzilla/blob/master/app.psgi#L41, we should call: Bugzilla::Hook::process('psgi_setup') and pass in the list of static paths as an array reference so that the new psgi_setup hook can modify it. It should be possible to run other plack middleware from this hook too, which may prove very useful.
You need to log in before you can comment on or make changes to this bug.