3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 08:05:47 +00:00

Added #8931: add health controller without session (#8978)

* Added health controller

* Trying to move session middleware to web and api group to have health controller without session

* Fix health route store the session

Co-authored-by: Vincent Lainé <v.laine@dental-monitoring.com>
This commit is contained in:
Vincent Lainé
2021-01-26 21:10:54 +01:00
committed by GitHub
parent 2a817c2123
commit d6ead5ae17
6 changed files with 56 additions and 3 deletions

View File

@ -14,6 +14,7 @@ class Kernel extends HttpKernel
* @var array
*/
protected $middleware = [
\App\Http\Middleware\NoSessionStore::class,
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,