Skip to content

Commit 0619875

Browse files
author
weilei
committed
fix(examples): 修改环境变量替换硬编码的Dify API密钥
1 parent 82c3df3 commit 0619875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/views/DifyChat/mixins/messageMixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default {
6060
// Dify 配置
6161
difyConfig: {
6262
baseURL: 'https://api.dify.ai/v1',
63-
apiKey: 'app-LF6qPHsIQFgAkqoD2Dui1SUo',
63+
apiKey: process.env.VUE_APP_DIFY_API_KEY,
6464
user: generateBrowserUserId(),
6565
},
6666
};

0 commit comments

Comments
 (0)