Invidious is an alternative front-end to YouTube
routes: Allow embedding videos in local HTML files (fixes #4448)
Tomasz Wilczyński4adb4c00d209
diff --git a/src/invidious/routes/before_all.cr b/src/invidious/routes/before_all.crindex 396840a4..5695dee9 100644--- a/src/invidious/routes/before_all.cr+++ b/src/invidious/routes/before_all.cr@@ -30,7 +30,7 @@ module Invidious::Routes::BeforeAll# Only allow the pages at /embed/* to be embeddedif env.request.resource.starts_with?("/embed")- frame_ancestors = "'self' http: https:"+ frame_ancestors = "'self' file: http: https:"elseframe_ancestors = "'none'"end