Compare commits
2 Commits
d217b5e53b
...
ea56e25b03
Author | SHA1 | Date |
---|---|---|
tomasz1986 | ea56e25b03 | |
Tomasz Wilczyński | 4adb4c00d2 |
|
@ -30,7 +30,7 @@ module Invidious::Routes::BeforeAll
|
|||
|
||||
# Only allow the pages at /embed/* to be embedded
|
||||
if env.request.resource.starts_with?("/embed")
|
||||
frame_ancestors = "'self' http: https:"
|
||||
frame_ancestors = "'self' file: http: https:"
|
||||
else
|
||||
frame_ancestors = "'none'"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue