Skip to content

Commit

Permalink
#395 - CSP header (#412)
Browse files Browse the repository at this point in the history
* #395 - added csp header

* #395 - fix

* - updated csp

* #395 - fix

* #395 - fix 2
  • Loading branch information
kamilpiech97 authored Jul 31, 2024
1 parent 6511e6a commit 874b110
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/views/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
@if (app()->environment('production'))
<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">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
@vite('resources/js/app.js')
Expand Down

0 comments on commit 874b110

Please sign in to comment.