From 3257fa0c97791950198608a7ed9655fb8e47e096 Mon Sep 17 00:00:00 2001
From: overtrue
Date: Thu, 9 May 2024 23:10:29 +0800
Subject: [PATCH] feat: dify ai
---
docs/.vitepress/config.ts | 16 ++++++++++++++++
docs/.vitepress/theme/components/Footer.vue | 3 ---
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts
index a550be3b0..c7341fb68 100644
--- a/docs/.vitepress/config.ts
+++ b/docs/.vitepress/config.ts
@@ -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'
+ }
]
],
diff --git a/docs/.vitepress/theme/components/Footer.vue b/docs/.vitepress/theme/components/Footer.vue
index f383a1133..53e33b403 100644
--- a/docs/.vitepress/theme/components/Footer.vue
+++ b/docs/.vitepress/theme/components/Footer.vue
@@ -12,8 +12,5 @@ const { theme } = useData()
{{ theme.license.text }} .
-
-