mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
fix iframe.js to support microphone (#4993)
Co-authored-by: dreamer6680 <146868355@qq.com>
This commit is contained in:
parent
4054164017
commit
ccae96a981
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue