feat: improve electron sandbox (#14156)

This commit is contained in:
DarkSky
2025-12-27 03:23:28 +08:00
committed by GitHub
parent 3fe8923fc3
commit 4eed92cebf
32 changed files with 570 additions and 213 deletions

View File

@@ -27,6 +27,7 @@ export type IframeOptions = {
allow?: string;
allowFullscreen?: boolean;
containerBorderRadius?: number;
sandbox?: string;
};
/**

View File

@@ -106,6 +106,7 @@ export class EmbedIframeService
}
const oEmbedUrl = config.buildOEmbedUrl(url);
if (!oEmbedUrl) {
return null;
}