mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-31 19:26:58 -06:00
Added middleware which injects the content-length header in the response if not present
This commit is contained in:
parent
75b8175824
commit
334710e92c
@ -16,6 +16,7 @@ return [
|
|||||||
'pre-routing' => [
|
'pre-routing' => [
|
||||||
'middleware' => [
|
'middleware' => [
|
||||||
ErrorHandler::class,
|
ErrorHandler::class,
|
||||||
|
Expressive\Helper\ContentLengthMiddleware::class,
|
||||||
LocaleMiddleware::class,
|
LocaleMiddleware::class,
|
||||||
],
|
],
|
||||||
'priority' => 11,
|
'priority' => 11,
|
||||||
|
Loading…
Reference in New Issue
Block a user