about summary refs log tree commit diff stats
path: root/config/initializers/permissions_policy.rb
blob: 7db3b9577e6e56da5f1bf3681c0b458af7de6ed2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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