mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-15 05:53:09 +00:00
22
netlify.toml
22
netlify.toml
@@ -20,20 +20,18 @@
|
|||||||
X-Content-Type-Options = "nosniff"
|
X-Content-Type-Options = "nosniff"
|
||||||
X-XSS-Protection = "1; mode=block"
|
X-XSS-Protection = "1; mode=block"
|
||||||
Content-Security-Policy = """\
|
Content-Security-Policy = """\
|
||||||
base-uri 'self'; \
|
|
||||||
child-src https://utteranc.es; \
|
|
||||||
default-src 'self'; \
|
default-src 'self'; \
|
||||||
font-src 'self' https://fonts.gstatic.com https://fonts.googleapis.com; \
|
script-src 'report-sample' 'self' https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js https://utteranc.es/client.js; \
|
||||||
form-action 'self'; \
|
style-src 'report-sample' 'self' https://fonts.googleapis.com; \
|
||||||
img-src 'self'; \
|
|
||||||
object-src 'none'; \
|
object-src 'none'; \
|
||||||
script-src 'report-sample' 'self' \
|
base-uri 'self'; \
|
||||||
https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js \
|
connect-src 'self'; \
|
||||||
https://cdn.jsdelivr.net/npm/flexsearch@0.7.21/dist/flexsearch.bundle.js \
|
font-src 'self' https://fonts.gstatic.com; \
|
||||||
https://utteranc.es/client.js; \
|
frame-src 'self' https://utteranc.es; \
|
||||||
style-src 'report-sample' 'self' \
|
img-src 'self'; \
|
||||||
https://fonts.googleapis.com \
|
manifest-src 'self'; \
|
||||||
https://cdn.jsdelivr.net/npm/flexsearch@0.7.21/dist/flexsearch.bundle.js \
|
media-src 'self'; \
|
||||||
|
worker-src 'none'; \
|
||||||
"""
|
"""
|
||||||
X-Frame-Options = "SAMEORIGIN"
|
X-Frame-Options = "SAMEORIGIN"
|
||||||
Referrer-Policy = "strict-origin"
|
Referrer-Policy = "strict-origin"
|
||||||
|
Reference in New Issue
Block a user