Fix CSP
This commit is contained in:
parent
f5945269bf
commit
84be788034
|
@ -418,7 +418,7 @@ router.get("/notes/:note", async (ctx, next) => {
|
||||||
ctx.set("Cache-Control", "public, max-age=15");
|
ctx.set("Cache-Control", "public, max-age=15");
|
||||||
ctx.set(
|
ctx.set(
|
||||||
"Content-Security-Policy",
|
"Content-Security-Policy",
|
||||||
"default-src 'self' 'unsafe-inline'; img-src '*'; frame-ancestors '*'",
|
"default-src 'self' 'unsafe-inline'; img-src *; frame-ancestors *",
|
||||||
);
|
);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue