Skip to content

Commit fef222a

Browse files
authored
Merge pull request #16 from helixbox/Eidt
update for AI
2 parents 3da6d7d + bd81a44 commit fef222a

File tree

3 files changed

+15
-48
lines changed

3 files changed

+15
-48
lines changed

docusaurus.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,17 @@ const config: Config = {
229229
indexName: "helixbox",
230230
},
231231
} satisfies Preset.ThemeConfig,
232+
scripts: [
233+
{
234+
src: 'js/ai.js',
235+
async: false,
236+
},
237+
{
238+
src: 'https://dify.helix.box/embed.min.js',
239+
async: true,
240+
id:"50BF6mXsnaB2kVMY"
241+
},
242+
],
232243
};
233244

234245
export default config;

src/theme/Layout/index.tsx

Lines changed: 0 additions & 48 deletions
This file was deleted.

static/js/ai.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
window.difyChatbotConfig = {
2+
token: '50BF6mXsnaB2kVMY',
3+
baseUrl: 'https://dify.helix.box/',
4+
};

0 commit comments

Comments
 (0)