about summary refs log tree commit diff stats
path: root/config/initializers/permissions_policy.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-30 13:29:08 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-30 13:29:08 -0500
commit0929719a845897cc8567cf972e07a69a71f0fa6f (patch)
tree2b6f69c1d906abb6e0abf8a0f1d51725bc78087d /config/initializers/permissions_policy.rb
parent01c1947537e4e23ded0c16812a7cd9d49ad88356 (diff)
downloadwittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.gz
wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.bz2
wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.zip
Migrate to a full rails app
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 @@
1# Be sure to restart your server when you modify this file.
2
3# Define an application-wide HTTP permissions policy. For further
4# information see: https://developers.google.com/web/updates/2018/06/feature-policy
5
6# Rails.application.config.permissions_policy do |policy|
7# policy.camera :none
8# policy.gyroscope :none
9# policy.microphone :none
10# policy.usb :none
11# policy.fullscreen :self
12# policy.payment :self, "https://secure.example.com"
13# end