mirror of
https://github.com/getgrav/grav.git
synced 2026-07-04 13:38:07 +02:00
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:
@@ -2,4 +2,5 @@
|
||||
title: Not Found
|
||||
routable: false
|
||||
notfound: true
|
||||
expires: 0
|
||||
---
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user