Merge branch 'develop' of github.com:getgrav/grav into 1.7

 Conflicts:
	composer.lock
	system/src/Grav/Common/Grav.php
This commit is contained in:
Matias Griese
2020-10-06 10:21:33 +03:00
2 changed files with 2 additions and 1 deletions

View File

@@ -2,4 +2,5 @@
title: Not Found
routable: false
notfound: true
expires: 0
---

View File

@@ -251,7 +251,7 @@ class Grav extends Container
);
$default = static function () {
return new Response(404);
return new Response(404, ['Expires' => 0, 'Cache-Control' => 'no-cache, no-store, must-revalidate'], 'Not Found');
};
$collection = new RequestHandler($this->middleware, $default, $container);