mirror of
https://github.com/silverstripe/silverstripe-environmentcheck
synced 2024-10-22 17:05:40 +02:00
ADD ConfirmationMiddleware exceptions for the dev routes
This commit is contained in:
parent
6fe0b1889e
commit
e757c9477c
@ -12,3 +12,14 @@ SilverStripe\Dev\DevelopmentAdmin:
|
|||||||
controller: Silverstripe\EnvironmentCheck\Controllers\DevCheckController
|
controller: Silverstripe\EnvironmentCheck\Controllers\DevCheckController
|
||||||
links:
|
links:
|
||||||
check: 'Run registered environment checks and display their status'
|
check: 'Run registered environment checks and display their status'
|
||||||
|
|
||||||
|
---
|
||||||
|
Name: environmentcheckroutes-dev_urls-confirmation-exceptions
|
||||||
|
After:
|
||||||
|
- 'dev_urls-confirmation-middleware'
|
||||||
|
---
|
||||||
|
SilverStripe\Core\Injector\Injector:
|
||||||
|
DevUrlsConfirmationMiddleware:
|
||||||
|
properties:
|
||||||
|
Bypasses:
|
||||||
|
- '%$SilverStripe\Control\Middleware\ConfirmationMiddleware\UrlPathStartsWith("dev/check")'
|
||||||
|
Loading…
Reference in New Issue
Block a user