view config/initializers/permissions_policy.rb @ 506:b5c6fd96100b default tip

Readd the field error proc config
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:46:09 +0900
parents 92929378413e
children
line wrap: on
line source

# Be sure to restart your server when you modify this file.

# 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 |policy|
#   policy.camera      :none
#   policy.gyroscope   :none
#   policy.microphone  :none
#   policy.usb         :none
#   policy.fullscreen  :self
#   policy.payment     :self, "https://secure.example.com"
# end