Mercurial > rsstweet
annotate config/initializers/permissions_policy.rb @ 254:89f6c0016bab default tip
Update to latest rails
author | nanaya <me@nanaya.net> |
---|---|
date | Tue, 03 Sep 2024 19:21:25 +0900 |
parents | 2335107f35d0 |
children |
rev | line source |
---|---|
254 | 1 # Be sure to restart your server when you modify this file. |
2 | |
214 | 3 # Define an application-wide HTTP permissions policy. For further |
254 | 4 # information see: https://developers.google.com/web/updates/2018/06/feature-policy |
5 | |
6 # Rails.application.config.permissions_policy do |policy| | |
7 # policy.camera :none | |
8 # policy.gyroscope :none | |
9 # policy.microphone :none | |
10 # policy.usb :none | |
11 # policy.fullscreen :self | |
12 # policy.payment :self, "https://secure.example.com" | |
214 | 13 # end |