FIX use correct namespaces for middleware injection

This commit is contained in:
Andrew Aitken-Fincham 2017-09-06 16:53:33 +01:00
parent b270eee1b0
commit dc240ce7f3
1 changed files with 4 additions and 4 deletions

View File

@ -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: