CSP array format #81
|
Hi, Quick question, for the CSP array format should it be like this:
or like this:
Thanks |
Answered by
bepsvpt
Nov 30, 2022
Replies: 1 comment
|
In most cases, |
0 replies
Answer selected by
incoming-th
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'csp' => [ 'default-src' => [ 'self' => true, 'allow' => [ config('app.url') ] ],is the correct one.In most cases,
'self' => truewill allow your website to load assets from the same domain.