mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-12 21:58:57 +02:00
fix: sandbox repository webview documents
This commit is contained in:
@@ -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