fix: by default CanonicalURLMiddleware should run in all environments

This commit is contained in:
Will Rossiter 2024-02-20 12:46:46 +13:00
parent bcbbfddd1a
commit 1a4942e300
No known key found for this signature in database
GPG Key ID: 9CD50F87382CDF52
1 changed files with 2 additions and 0 deletions

View File

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