mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-11 06:20:42 +00:00
Remove invalid X-Frame-Options: ALLOWALL (#25070)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user