mirror of https://github.com/rails/rails
Fix typo in Feature Policy for idle-detection
As listed in MDN, the policy is spelled as `idle-detection`, and not as `idle_detection`. Hence, browsers were unable to process the policy correctly, effectively ignoring it. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/idle-detection
This commit is contained in:
parent
92591ebd54
commit
33ee5d659d
|
@ -98,7 +98,7 @@ module ActionDispatch # :nodoc:
|
|||
geolocation: "geolocation",
|
||||
gyroscope: "gyroscope",
|
||||
hid: "hid",
|
||||
idle_detection: "idle_detection",
|
||||
idle_detection: "idle-detection",
|
||||
magnetometer: "magnetometer",
|
||||
microphone: "microphone",
|
||||
midi: "midi",
|
||||
|
|
Loading…
Reference in New Issue