1
0

permissions_policy.rb 414 B

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