demarches-normaliennes/config/initializers/permissions_policy.rb

12 lines
384 B
Ruby
Raw Normal View History

2021-02-16 16:14:43 +01:00
# 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