byt-lingxiao-ai 0.3.9 → 0.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- const baseUrl = window.location.hostname;
1
+ const baseUrl = window.location.host;
2
2
 
3
- export const API_URL = `/chat/lingxiao-byt/api/v1/mcp/ask`; // 对话
3
+ export const API_URL = `/lingxiao-byt/api/v1/mcp/ask`; // 对话
4
4
  export const WS_URL = `ws://${baseUrl}/audio/ws`; // 语音
5
5
  export const AUDIO_URL = '/minio/lingxiaoai/byt.mp3'; // 导览
6
6
  export const TIME_JUMP_POINTS_URL = '/minio/lingxiaoai/timeJumpPoints.json'; // 语音url跳转节点
@@ -31291,8 +31291,8 @@ var es_typed_array_with = __webpack_require__(9577);
31291
31291
  }
31292
31292
  });
31293
31293
  ;// ./components/config/index.js
31294
- const baseUrl = window.location.hostname;
31295
- const API_URL = `/chat/lingxiao-byt/api/v1/mcp/ask`; // 对话
31294
+ const baseUrl = window.location.host;
31295
+ const API_URL = `/lingxiao-byt/api/v1/mcp/ask`; // 对话
31296
31296
  const WS_URL = `ws://${baseUrl}/audio/ws`; // 语音
31297
31297
  const AUDIO_URL = '/minio/lingxiaoai/byt.mp3'; // 导览
31298
31298
  const TIME_JUMP_POINTS_URL = '/minio/lingxiaoai/timeJumpPoints.json'; // 语音url跳转节点