summaryrefslogtreecommitdiff
path: root/config.default.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-09-21 13:29:58 +0200
committerGravatar GitHub <noreply@github.com> 2025-09-21 13:29:58 +0200
commitbc3e4c8fa4bae9591166e12caa3fb6bf73893102 (patch)
treeee38afd776e08461ba22bdbc10fe4c17d5bff172 /config.default.php
parentf1cf57b5b713527b4521c4552b5f1ac023ee3adc (diff)
Add option for CSP frame-ancestors (#7857)
* Add option for CSP frame-ancestors https://github.com/FreshRSS/FreshRSS/discussions/7856 * Revert contentSelectorPreviewAction * Same for f.php and api * Fix double init in f.php * No sandbox for API page
Diffstat (limited to 'config.default.php')
-rw-r--r--config.default.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.default.php b/config.default.php
index 91eca5597..89b2cfd25 100644
--- a/config.default.php
+++ b/config.default.php
@@ -88,6 +88,9 @@ return [
# For more information see: https://freshrss.github.io/FreshRSS/en/admins/10_ServerConfig.html#security
'suppress_csp_warning' => false,
+ # Content-Security-Policy frame-ancestors
+ 'csp.frame-ancestors' => "'none'",
+
# Enable or not the use of syslog to log the activity of
# SimplePie, which is retrieving RSS feeds via HTTP requests.
'simplepie_syslog_enabled' => true,