Commit Graph

3 Commits

Author SHA1 Message Date
Tomasz Wilczyński
4adb4c00d2 routes: Allow embedding videos in local HTML files (fixes #4448)
The current Content Security Policy does not allow to embed videos
inside local HTML files which are viewed in the browser via the file
protocol. This commit adds the file protocol to the allowed frame
ancestors, so that the embedded videos load correctly in local HTML
files.

This behaviour is consistent which how the official YouTube website
allows to embed videos from itself.

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2024-02-24 20:01:16 +01:00
Samantaz Fox
836898754e User: Remove broken Google login (before_all route) 2023-06-11 16:34:59 +02:00
Samantaz Fox
870350fd61 routes: move before_all logic to its own module 2022-08-10 00:55:58 +02:00