about summary refs log tree commit diff stats
path: root/config/initializers/permissions_policy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/permissions_policy.rb')
-rw-r--r--config/initializers/permissions_policy.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/initializers/permissions_policy.rb b/config/initializers/permissions_policy.rb new file mode 100644 index 0000000..00f64d7 --- /dev/null +++ b/config/initializers/permissions_policy.rb
@@ -0,0 +1,11 @@
1# Define an application-wide HTTP permissions policy. For further
2# information see https://developers.google.com/web/updates/2018/06/feature-policy
3#
4# Rails.application.config.permissions_policy do |f|
5# f.camera :none
6# f.gyroscope :none
7# f.microphone :none
8# f.usb :none
9# f.fullscreen :self
10# f.payment :self, "https://secure.example.com"
11# end