mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 06:47:46 -08:00
Fixed parse error for merge conflict
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
798f6d65de
commit
84a3a85823
|
@ -103,7 +103,7 @@ class SecurityHeaders
|
||||||
$csp_policy[] = "connect-src 'self'";
|
$csp_policy[] = "connect-src 'self'";
|
||||||
$csp_policy[] = "object-src 'none'";
|
$csp_policy[] = "object-src 'none'";
|
||||||
$csp_policy[] = "font-src 'self' data:";
|
$csp_policy[] = "font-src 'self' data:";
|
||||||
$csp_policy[] = "img-src 'self' data: ".config('app.url').' '.env('PUBLIC_AWS_URL').' https://secure.gravatar.com http://gravatar.com maps.google.com maps.gstatic.com *.googleapis.com";
|
$csp_policy[] = "img-src 'self' data: ".config('app.url').' '.env('PUBLIC_AWS_URL').' https://secure.gravatar.com http://gravatar.com maps.google.com maps.gstatic.com *.googleapis.com';
|
||||||
|
|
||||||
if (config('filesystems.disks.public.driver') == 's3') {
|
if (config('filesystems.disks.public.driver') == 's3') {
|
||||||
$csp_policy[] = "img-src 'self' data: ".config('filesystems.disks.public.url');
|
$csp_policy[] = "img-src 'self' data: ".config('filesystems.disks.public.url');
|
||||||
|
|
Loading…
Reference in a new issue