diff options
author | eugenijm <eugenijm@protonmail.com> | 2021-01-08 12:06:04 +0300 |
---|---|---|
committer | eugenijm <eugenijm@protonmail.com> | 2021-01-21 21:55:11 +0300 |
commit | 133644dfa2e46dc48980ae6f835b7aa2758b4250 (patch) | |
tree | ab043113d6db4cc4729aad8cbded8a8bd8ff185e /config/description.exs | |
parent | d8860eaee46c9bc0a079e90dfb008c54923d7330 (diff) | |
download | pleroma-133644dfa2e46dc48980ae6f835b7aa2758b4250.tar.gz pleroma-133644dfa2e46dc48980ae6f835b7aa2758b4250.zip |
Ability to set the Service-Worker-Allowed header
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 8 |
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: ["/"] } ] }, |