mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #7349 from andrewandante/patch-2
FIX use correct namespaces for middleware injection
This commit is contained in:
commit
cb8b33b9eb
@ -11,12 +11,12 @@ SilverStripe\Core\Injector\Injector:
|
||||
SessionMiddleware: '%$SilverStripe\Control\Middleware\SessionMiddleware'
|
||||
RequestProcessorMiddleware: '%$SilverStripe\Control\RequestProcessor'
|
||||
FlushMiddleware: '%$SilverStripe\Control\Middleware\FlushMiddleware'
|
||||
SilverStripe\Control\AllowedHostsMiddleware:
|
||||
SilverStripe\Control\Middleware\AllowedHostsMiddleware:
|
||||
properties:
|
||||
AllowedHosts: "`SS_ALLOWED_HOSTS`"
|
||||
SilverStripe\Control\TrustedProxyMiddleware:
|
||||
AllowedHosts: '`SS_ALLOWED_HOSTS`'
|
||||
SilverStripe\Control\Middleware\TrustedProxyMiddleware:
|
||||
properties:
|
||||
TrustedProxyIPs: "`SS_TRUSTED_PROXY_IPS`"
|
||||
TrustedProxyIPs: '`SS_TRUSTED_PROXY_IPS`'
|
||||
---
|
||||
Name: errorrequestprocessors
|
||||
After:
|
||||
|
Loading…
x
Reference in New Issue
Block a user