annotate config/initializers/permissions_policy.rb @ 221:545ce38ef3d6
Remove copied off client_options (to Clients)
author |
nanaya <me@nanaya.pro> |
date |
Thu, 27 May 2021 02:31:59 +0900 |
parents |
2335107f35d0 |
children |
89f6c0016bab |
rev |
line source |
214
|
1 # Define an application-wide HTTP permissions policy. For further
|
|
2 # information see https://developers.google.com/web/updates/2018/06/feature-policy
|
|
3 #
|
|
4 # Rails.application.config.permissions_policy do |f|
|
|
5 # f.camera :none
|
|
6 # f.gyroscope :none
|
|
7 # f.microphone :none
|
|
8 # f.usb :none
|
|
9 # f.fullscreen :self
|
|
10 # f.payment :self, "https://secure.example.com"
|
|
11 # end
|