Skip to content

Commit

Permalink
Voiceflow agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Beloborodov committed Dec 19, 2024
1 parent 6d110ea commit e9e4d79
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/index.dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,23 @@

<body>
<div id="root"></div>
<!-- Voiceflow agent -->
<script type="text/javascript">
(function(d, t) {
var v = d.createElement(t), s = d.getElementsByTagName(t)[0];
v.onload = function() {
window.voiceflow.chat.load({
verify: { projectID: '6713e67f3b38507f5163c395' },
url: 'https://general-runtime.voiceflow.com',
versionID: 'production'
});
}
v.src = "https://cdn.voiceflow.com/widget/bundle.mjs";
v.type = "text/javascript";
s.parentNode.insertBefore(v, s);
})(document, 'script');
</script>
<!-- /Voiceflow agent -->
</body>

</html>
</html>
17 changes: 17 additions & 0 deletions src/index.prod.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,23 @@

<body>
<div id="root"></div>
<!-- Voiceflow agent -->
<script type="text/javascript">
(function(d, t) {
var v = d.createElement(t), s = d.getElementsByTagName(t)[0];
v.onload = function() {
window.voiceflow.chat.load({
verify: { projectID: '6713e67f3b38507f5163c395' },
url: 'https://general-runtime.voiceflow.com',
versionID: 'production'
});
}
v.src = "https://cdn.voiceflow.com/widget/bundle.mjs";
v.type = "text/javascript";
s.parentNode.insertBefore(v, s);
})(document, 'script');
</script>
<!-- /Voiceflow agent -->
</body>

</html>

0 comments on commit e9e4d79

Please sign in to comment.