mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 00:36:42 +01:00
12 lines
338 B
Ruby
12 lines
338 B
Ruby
# 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 :none
|
|
end
|