Mercurial > zeropaste
diff config/initializers/permissions_policy.rb @ 481:88fd5722fcb3
Update defaults
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 28 Nov 2021 19:45:05 +0900 |
parents | |
children | 92929378413e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/initializers/permissions_policy.rb Sun Nov 28 19:45:05 2021 +0900 @@ -0,0 +1,11 @@ +# 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 |f| +# f.camera :none +# f.gyroscope :none +# f.microphone :none +# f.usb :none +# f.fullscreen :self +# f.payment :self, "https://secure.example.com" +# end