Hotfix: Vorschau im Inhalte-Editor und Seitennavigation der Medienbibliothek

- AllowPortalFraming: frame-ancestors 'self' + Portal statt X-Frame-Options SAMEORIGIN,
  damit portal.b2in.eu die Website im Vorschau-iframe zeigen darf
- Medienbibliothek und Hub-Verwaltung: WithPagination – ohne zeigten die Seitenlinks nach
  dem ersten Livewire-Klick auf den Update-Endpunkt (405); Suche/Filter springen auf Seite 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-10-09 09:36:16 +00:00
parent a661a68913
commit 69d50eed0f
5 changed files with 92 additions and 2 deletions

View file

@ -42,6 +42,9 @@ return Application::configure(basePath: dirname(__DIR__))
// global, weil 404 vor dem Routing entsteht
$middleware->append(ReportErrorSignals::class);
// Inhalte-Editor im Portal zeigt die Website im iframe: frame-ancestors statt SAMEORIGIN
$middleware->append(\App\Http\Middleware\AllowPortalFraming::class);
// BasicAuth ganz am Ende, nach Session-Middleware
if (env('BASIC_AUTH_ENABLED', true)) {
$middleware->append(\App\Http\Middleware\BasicAuthMiddleware::class);