X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ee6a2339b654d1a4537319fb1548fd311549dfc7..refs/pull/4467/head:/app/Util/CspService.php diff --git a/app/Util/CspService.php b/app/Util/CspService.php index f9ab666ac..227ec8e0b 100644 --- a/app/Util/CspService.php +++ b/app/Util/CspService.php @@ -126,7 +126,7 @@ class CspService protected function getAllowedIframeHosts(): array { - $hosts = config('app.iframe_hosts', ''); + $hosts = config('app.iframe_hosts') ?? ''; return array_filter(explode(' ', $hosts)); }