mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-21 16:33:48 +01:00
[backend] Fix video playback for files hosted from different origins
This commit is contained in:
parent
b1b9616572
commit
01fbd1a5c7
@ -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 New Issue
Block a user