blob: aefcb674bb00b7e439b58c11c19f043a601be1aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
namespace Engelsystem\Middleware;
use Engelsystem\Container\ServiceProvider;
class SessionHandlerServiceProvider extends ServiceProvider
{
public function register()
{
$this->app
->when(SessionHandler::class)
->needs('$paths')
->give(function () {
return [
'/api',
'/ical',
'/metrics',
'/shifts-json-export',
'/stats',
];
});
}
}
|