fix: sandbox repository webview documents

This commit is contained in:
tdurieux
2026-09-06 09:17:52 +02:00
parent 3e275311f1
commit 67eb83674c
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -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 {