annotate config/initializers/permissions_policy.rb @ 503:2392b86711a1
Remove standalone option
I reverted the bundler require option during upgrade but the custom group isn't relevant anymore anyway.
author |
nanaya <me@nanaya.net> |
date |
Mon, 16 Dec 2024 01:15:49 +0900 |
parents |
92929378413e |
children |
|
rev |
line source |
495
|
1 # Be sure to restart your server when you modify this file.
|
|
2
|
481
|
3 # Define an application-wide HTTP permissions policy. For further
|
495
|
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"
|
481
|
13 # end
|