permissions_policy.rb 511 B

123456789101112131415
  1. # frozen_string_literal: true
  2. # Be sure to restart your server when you modify this file.
  3. # Define an application-wide HTTP permissions policy. For further
  4. # information see: https://developers.google.com/web/updates/2018/06/feature-policy
  5. # Rails.application.config.permissions_policy do |policy|
  6. # policy.camera :none
  7. # policy.gyroscope :none
  8. # policy.microphone :none
  9. # policy.usb :none
  10. # policy.fullscreen :self
  11. # policy.payment :self, "https://secure.example.com"
  12. # end