Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/_default/server.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ Permissions-Policy = """
# "img-src data: blob:" is for Plotly download feature
# "script-src unsafe-eval unsafe-inline data:": For Google Analytics
# "form-action" is NOT set, so it allows everything (it doesn't default to default-src). If restricted, It must allow at least www.paypal.com and its redirects
# "frame-ancestors" is a modern equivalent and successor to the X-Frame-Options header
Content-Security-Policy = """
default-src 'none';
frame-ancestors 'none';
font-src 'self';
style-src 'unsafe-inline' 'self';
script-src 'unsafe-eval' 'unsafe-inline' 'self' data:
Expand Down
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ Permissions-Policy = """
# "img-src data: blob:" is for Plotly download feature
# "script-src unsafe-eval unsafe-inline data:": For Google Analytics
# "form-action" is NOT set, so it allows everything (it doesn't default to default-src). If restricted, It must allow at least www.paypal.com and its redirects
# "frame-ancestors" is a modern equivalent and successor to the X-Frame-Options header
Content-Security-Policy = """
default-src 'none';
frame-ancestors 'none';
font-src 'self';
style-src 'unsafe-inline' 'self';
script-src 'unsafe-eval' 'unsafe-inline' 'self' data:
Expand Down