mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix iframe.js to support microphone (#4993)
Co-authored-by: dreamer6680 <146868355@qq.com>
This commit is contained in:
@@ -32,7 +32,7 @@ function embedChatbot() {
|
||||
ChatBtnDiv.draggable = false;
|
||||
|
||||
const iframe = document.createElement('iframe');
|
||||
iframe.allow = '*';
|
||||
iframe.allow = 'microphone *; *';
|
||||
iframe.referrerPolicy = 'no-referrer';
|
||||
iframe.title = 'FastGPT Chat Window';
|
||||
iframe.id = chatWindowId;
|
||||
|
Reference in New Issue
Block a user