ENH Make CanonicalURLMiddleware run in all environments by default (#11154)

This commit is contained in:
Will Rossiter 2024-03-05 10:57:20 +13:00 committed by GitHub
parent 165a65a017
commit f4cbe92050
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,6 +81,8 @@ class CanonicalURLMiddleware implements HTTPMiddleware
* @var array|bool
*/
protected $enabledEnvs = [
CoreKernel::DEV,
CoreKernel::TEST,
CoreKernel::LIVE
];