Skip to content

Commit

Permalink
#395 - updated if statement for csp header (#477)
Browse files Browse the repository at this point in the history
#395 - fix: updated if statement for csp header
  • Loading branch information
kamilpiech97 authored Jul 31, 2024
1 parent 6c5454f commit 73b6266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
@if (app()->environment('production'))
@if (!app()->environment('local'))
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' https://rsms.me/inter/inter.css 'unsafe-inline'; img-src 'self' https://eu.ui-avatars.com/ data:; font-src 'self' https://rsms.me/ ; base-uri 'self'; form-action 'self'; frame-src 'self'; object-src 'none';">
@endif
<link rel="icon" href="/images/icon.png">
Expand Down

0 comments on commit 73b6266

Please sign in to comment.