annotate config/initializers/permissions_policy.rb @ 487:5246edd5b8ad

Update gems and remove jruby support
author nanaya <me@nanaya.net>
date Tue, 17 Jan 2023 01:42:57 +0900
parents 88fd5722fcb3
children 92929378413e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
481
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
1 # Define an application-wide HTTP permissions policy. For further
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
2 # information see https://developers.google.com/web/updates/2018/06/feature-policy
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
3 #
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
4 # Rails.application.config.permissions_policy do |f|
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
5 # f.camera :none
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
6 # f.gyroscope :none
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
7 # f.microphone :none
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
8 # f.usb :none
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
9 # f.fullscreen :self
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
10 # f.payment :self, "https://secure.example.com"
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents:
diff changeset
11 # end