1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-14 06:38:21 +09:00
mastodon/config/initializers/permissions_policy.rb

13 lines
414 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# 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