mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-03 09:33:47 +01:00
fix: sandbox repository webview documents
This commit is contained in:
2 files changed
+16
No files matched your search
@@ -62,6 +62,7 @@ const indexPriority = [
|
||||
];
|
||||
|
||||
async function webView(req: express.Request, res: express.Response) {
|
||||
res.header("Content-Security-Policy", "sandbox allow-popups allow-forms allow-modals");
|
||||
const repo = await getRepo(req, res);
|
||||
if (!repo) return;
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user