summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2021-01-08 12:06:04 +0300
committereugenijm <eugenijm@protonmail.com>2021-01-21 21:55:11 +0300
commit133644dfa2e46dc48980ae6f835b7aa2758b4250 (patch)
treeab043113d6db4cc4729aad8cbded8a8bd8ff185e /config
parentd8860eaee46c9bc0a079e90dfb008c54923d7330 (diff)
Ability to set the Service-Worker-Allowed header
Diffstat (limited to 'config')
-rw-r--r--config/description.exs8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index 715a0d0c3..0580be09a 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -1749,6 +1749,14 @@ config :pleroma, :config_description, [
type: :string,
description: "Adds the specified URL to report-uri and report-to group in CSP header",
suggestions: ["https://example.com/report-uri"]
+ },
+ %{
+ key: :service_worker_allowed,
+ label: "The Service-Worker-Allowed header",
+ type: :string,
+ description:
+ "Sets the Service-Worker-Allowed header which limits the maximum allowed Service Worker scope",
+ suggestions: ["/"]
}
]
},