summaryrefslogtreecommitdiff
path: root/config/initializers/permissions_policy.rb
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-11-11 16:55:14 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-11-11 16:55:14 +0100
commitfea9476a591559bd8fdcf17b64e5114c592a5b08 (patch)
tree08aa0fdd62752f1d286aa66ac77413fb03d6d737 /config/initializers/permissions_policy.rb
C'est l'heure d'assurer le suivi de quelques flacons!main
Diffstat (limited to 'config/initializers/permissions_policy.rb')
-rw-r--r--config/initializers/permissions_policy.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/initializers/permissions_policy.rb b/config/initializers/permissions_policy.rb
new file mode 100644
index 0000000..7db3b95
--- /dev/null
+++ b/config/initializers/permissions_policy.rb
@@ -0,0 +1,13 @@
+# Be sure to restart your server when you modify this file.
+
+# Define an application-wide HTTP permissions policy. For further
+# information see: https://developers.google.com/web/updates/2018/06/feature-policy
+
+# Rails.application.config.permissions_policy do |policy|
+# policy.camera :none
+# policy.gyroscope :none
+# policy.microphone :none
+# policy.usb :none
+# policy.fullscreen :self
+# policy.payment :self, "https://secure.example.com"
+# end
Copyright 2019--2024 Marius PETER