mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 06:41:36 -07:00
[backend] Fix video playback for files hosted from different origins
This commit is contained in:
parent
b1b9616572
commit
01fbd1a5c7
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ router.get("/notes/:note", async (ctx, next) => {
|
|||
ctx.set("Cache-Control", "public, max-age=15");
|
||||
ctx.set(
|
||||
"Content-Security-Policy",
|
||||
"default-src 'self' 'unsafe-inline'; img-src *; frame-ancestors *",
|
||||
"default-src 'self' 'unsafe-inline'; img-src *; media-src *; frame-ancestors *",
|
||||
);
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue