Remove invalid X-Frame-Options: ALLOWALL (#25070)
This commit is contained in:
parent
541f64b2bb
commit
fea0830614
2 changed files with 2 additions and 2 deletions
|
@ -45,6 +45,6 @@ class MediaController < ApplicationController
|
|||
end
|
||||
|
||||
def allow_iframing
|
||||
response.headers['X-Frame-Options'] = 'ALLOWALL'
|
||||
response.headers.delete('X-Frame-Options')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue