mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 09:52:49 +08:00
feat: improve electron sandbox (#14156)
This commit is contained in:
@@ -27,6 +27,7 @@ export type IframeOptions = {
|
||||
allow?: string;
|
||||
allowFullscreen?: boolean;
|
||||
containerBorderRadius?: number;
|
||||
sandbox?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -106,6 +106,7 @@ export class EmbedIframeService
|
||||
}
|
||||
|
||||
const oEmbedUrl = config.buildOEmbedUrl(url);
|
||||
|
||||
if (!oEmbedUrl) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user