app ->when(SessionHandler::class) ->needs('$paths') ->give(function () { return [ '/api', '/ical', '/metrics', '/shifts-json-export', '/stats', ]; }); } }