Ability to set the Service-Worker-Allowed header
This commit is contained in:
parent
d8860eaee4
commit
133644dfa2
4 changed files with 25 additions and 1 deletions
|
|
@ -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: ["/"]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue