Merge pull request #13 from jviney/master
CSP endpoint only accepts post requests.
This commit is contained in:
Коммит
982d2485f5
|
@ -1,3 +1,3 @@
|
|||
Rails.application.routes.draw do
|
||||
match SecureHeaders::ContentSecurityPolicy::FF_CSP_ENDPOINT => "content_security_policy#scribe"
|
||||
end
|
||||
post SecureHeaders::ContentSecurityPolicy::FF_CSP_ENDPOINT => "content_security_policy#scribe"
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче