saucy/config/initializers/permissions_policy.rb

14 lines
480 B
Ruby
Raw Normal View History

2024-03-28 10:06:50 +00:00
# Be sure to restart your server when you modify this file.
# Define an application-wide HTTP permissions policy. For further
2024-03-28 10:06:50 +00:00
# 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