Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
Merge branch '2.4' into 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dnsl48 committed Nov 17, 2019
2 parents c344179 + ca4799a commit a47aa4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/_config/security.yml
Expand Up @@ -10,11 +10,11 @@ Except:
# See https://www.cwp.govt.nz/developer-docs/en/2/working_with_projects/security/
# See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
CWP\Core\Control\InitialisationMiddleware:
strict_transport_security: 'max-age: 300'
strict_transport_security: 'max-age=300'
# Configure SSL redirection for every route (override default ForceSSLPatterns).
# Required for the HSTS configuration above to take effect.
SilverStripe\Core\Injector\Injector:
SilverStripe\Control\Middleware\CanonicalURLMiddleware:
properties:
ForceSSL: true
ForceSSLPatterns: null
ForceSSLPatterns: null
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -16,7 +16,7 @@
"cwp/cwp-recipe-search": "2.5.x-dev",
"silverstripe/recipe-services": "1.5.x-dev",
"silverstripe/subsites": "2.3.x-dev",
"tractorcow/silverstripe-fluent": "4.2.x-dev",
"tractorcow/silverstripe-fluent": "4.4.x-dev",
"silverstripe/registry": "2.2.x-dev",
"cwp/starter-theme": "3.0.x-dev"
},
Expand Down

0 comments on commit a47aa4c

Please sign in to comment.