mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
ENH Make CanonicalURLMiddleware
run in all environments by default (#11154)
This commit is contained in:
parent
165a65a017
commit
f4cbe92050
@ -81,6 +81,8 @@ class CanonicalURLMiddleware implements HTTPMiddleware
|
|||||||
* @var array|bool
|
* @var array|bool
|
||||||
*/
|
*/
|
||||||
protected $enabledEnvs = [
|
protected $enabledEnvs = [
|
||||||
|
CoreKernel::DEV,
|
||||||
|
CoreKernel::TEST,
|
||||||
CoreKernel::LIVE
|
CoreKernel::LIVE
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user