Skip to content

Commit 566b45f

Browse files
committed
add local network access
1 parent 2d8b12c commit 566b45f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/iframe/iframe.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ const createIframe = (src: string): HTMLElement => {
66
iframe.style.setProperty("height", "100%");
77
iframe.style.setProperty("border", "none");
88
iframe.allow = "clipboard-write";
9+
iframe.allow = "local-network-access"
910
iframe.src = src;
1011

12+
1113
return wrapWithLoader(iframe);
1214
};
1315

0 commit comments

Comments
 (0)