create-prisma-php-app 2.3.2 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.htaccess +6 -7
- package/package.json +1 -1
package/dist/.htaccess
CHANGED
|
@@ -32,16 +32,15 @@ RewriteEngine On
|
|
|
32
32
|
</FilesMatch>
|
|
33
33
|
</IfModule>
|
|
34
34
|
|
|
35
|
-
# Set Content Security Policy (CSP) headers to prevent XSS attacks
|
|
35
|
+
# Set Content Security Policy (CSP) headers to prevent XSS attacks while allowing CDNs
|
|
36
36
|
<IfModule mod_headers.c>
|
|
37
37
|
Header set Content-Security-Policy "\
|
|
38
|
-
default-src 'self'
|
|
39
|
-
script-src 'self'
|
|
40
|
-
style-src 'self' 'unsafe-inline'; \
|
|
41
|
-
img-src 'self' data:; \
|
|
38
|
+
default-src 'self' https:; \
|
|
39
|
+
script-src 'self' https: 'unsafe-inline' 'unsafe-eval' blob:; \
|
|
40
|
+
style-src 'self' https: 'unsafe-inline'; \
|
|
41
|
+
img-src 'self' data: https:; \
|
|
42
42
|
form-action 'self'; \
|
|
43
|
-
object-src 'none'
|
|
44
|
-
"
|
|
43
|
+
object-src 'none';"
|
|
45
44
|
</IfModule>
|
|
46
45
|
|
|
47
46
|
# Add important security headers
|