Skip to content

Commit

Permalink
feat: dify ai
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed May 9, 2024
1 parent 72848e8 commit 3257fa0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
16 changes: 16 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,22 @@ export default {
name: 'twitter:image',
content: 'https://easywechat/logo.png'
}
],
[
'script',
{},
`window.difyChatbotConfig = {
token: 'ToIyNfYIpbpUlVpE'
}
`
],
[
'script',
{
defer: true,
id: 'ToIyNfYIpbpUlVpE',
src: 'https://udify.app/embed.min.js'
}
]
],

Expand Down
3 changes: 0 additions & 3 deletions docs/.vitepress/theme/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,5 @@ const { theme } = useData()
{{ theme.license.text }} </a>.
</p>
<p v-if="theme.copyright" class="copyright" v-html="theme.copyright"></p>

<iframe src="https://udify.app/chatbot/ToIyNfYIpbpUlVpE" style="width: 100%; height: 100%; min-height: 700px" frameborder="0" allow="microphone">
</iframe>
</div>
</template>

0 comments on commit 3257fa0

Please sign in to comment.