fix: 知识库访问
This commit is contained in:
@@ -24,8 +24,9 @@
|
||||
</body>
|
||||
|
||||
<!-- 引入聊天组件脚本 -->
|
||||
<script src="https://opendeep.wiki/koala-chat-widget.js"></script>
|
||||
<script async src="https://opendeep.wiki/koala-chat-widget.js"></script>
|
||||
<script>
|
||||
function loadChatWidget() {
|
||||
KoalaChatWidget.init({
|
||||
appId: 'ccnetcore',
|
||||
title: 'ccnetcore',
|
||||
@@ -38,5 +39,9 @@
|
||||
console.error('Domain validation failed:', domain);
|
||||
}
|
||||
});
|
||||
}
|
||||
// 页面加载完成后再加载聊天组件
|
||||
window.addEventListener('load', loadChatWidget);
|
||||
|
||||
</script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user