aboutsummaryrefslogtreecommitdiff
path: root/config/initializers/permissions_policy.rb
blob: 00f64d71b03e029116af7b1713f450e9635fb10f (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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 |f|
#   f.camera      :none
#   f.gyroscope   :none
#   f.microphone  :none
#   f.usb         :none
#   f.fullscreen  :self
#   f.payment     :self, "https://secure.example.com"
# end