mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
Merge pull request '[PR]: Fix invalid CSP policy' (#10296) from esm/calckey:fix/note-csp-urls into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10296
This commit is contained in:
commit
242e30cab5
@ -418,7 +418,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 *; frame-ancestors *",
|
||||
);
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user