Unverified 提交 97b5c29f authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Allow common iframe permissions (#589)

Fixes #576 Fixes #538
上级 a9575abc
......@@ -565,6 +565,7 @@ export const PreviewIframe = ({ loading }: { loading: boolean }) => {
title={`Preview for App ${selectedAppId}`}
className="w-full h-full border-none bg-white dark:bg-gray-950"
src={appUrl}
allow="clipboard-read; clipboard-write; fullscreen; microphone; camera; display-capture; geolocation; autoplay; picture-in-picture"
/>
)}
</div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论