fix: Loop loading GitHub Gist embeds in Safari

closes #2520
This commit is contained in:
Tom Moor
2021-12-19 17:38:03 -08:00
parent 66d5a567c2
commit 36c0372d62
2 changed files with 10 additions and 37 deletions

View File

@@ -111,7 +111,7 @@ export default function init(app: Koa = new Koa()): Koa {
scriptSrc,
styleSrc: ["'self'", "'unsafe-inline'", "github.githubassets.com"],
imgSrc: ["*", "data:", "blob:"],
frameSrc: ["*"],
frameSrc: ["*", "data:"],
connectSrc: ["*"], // Do not use connect-src: because self + websockets does not work in
// Safari, ref: https://bugs.webkit.org/show_bug.cgi?id=201591
},