mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Fix CSP
This commit is contained in:
parent
73b2ce6f21
commit
8a6a5cdeb3
@ -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