Ability to set the Service-Worker-Allowed header
[akkoma] / config / description.exs
index 715a0d0c36e731c6732acdc72607c19fcb44a80d..0580be09aad3205058ad71ef70fecb38370b8bf3 100644 (file)
@@ -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: ["/"]
       }
     ]
   },