Skip to content

Commit 32b1748

Browse files
committed
fix: bug fix
1 parent 3815d03 commit 32b1748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/public/assistant.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;(function () {
1+
; (function () {
22
window.sqlbot_assistant_handler = window.sqlbot_assistant_handler || {}
33
const defaultData = {
44
id: '1',
@@ -68,7 +68,7 @@
6868
const getChatContainerHtml = (data) => {
6969
return `
7070
<div id="sqlbot-assistant-chat-container">
71-
<iframe id="sqlbot-assistant-chat-iframe-${data.id}" allow="microphone" src="${data.domain_url}/#/assistant?id=${data.id}&online=${!!data.online}"></iframe>
71+
<iframe id="sqlbot-assistant-chat-iframe-${data.id}" allow="microphone;clipboard-read 'src'; clipboard-write 'src'" src="${data.domain_url}/#/assistant?id=${data.id}&online=${!!data.online}"></iframe>
7272
<div class="sqlbot-assistant-operate">
7373
<div class="sqlbot-assistant-closeviewport sqlbot-assistant-viewportnone">
7474
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">

0 commit comments

Comments
 (0)