diff --git a/lib/Controller/AddCspTrait.php b/lib/Controller/AddCspTrait.php index 45848d358..a3fc14dc4 100644 --- a/lib/Controller/AddCspTrait.php +++ b/lib/Controller/AddCspTrait.php @@ -47,6 +47,10 @@ private function addCsp(Response $response): void { $cleanUrl .= ':' . $port; } $csp->addAllowedConnectDomain($cleanUrl); + + if ($host === 'api.protomaps.com') { + $csp->addAllowedConnectDomain('https://protomaps.github.io'); + } } }