Mercurial > rsstweet
view config/initializers/permissions_policy.rb @ 265:a8fd79a8d170 default tip
Update with better config example
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 09 Feb 2025 03:55:18 +0900 |
parents | 89f6c0016bab |
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