byt-lingxiao-ai 0.3.15 → 0.3.16
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.
- package/components/config/index.js +1 -1
- package/components/mixins/webSocketMixin.js +2 -2
- package/dist/index.common.js +8 -7
- package/dist/index.common.js.map +1 -1
- package/dist/index.umd.js +8 -7
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -31300,16 +31300,11 @@ var es_typed_array_with = __webpack_require__(9577);
|
|
|
31300
31300
|
}
|
|
31301
31301
|
}
|
|
31302
31302
|
});
|
|
31303
|
-
;// ./components/config/index.js
|
|
31304
|
-
const baseUrl = window.location.host;
|
|
31305
|
-
const API_URL = `/lingxiao-byt/api/v1/mcp/ask`; // 对话
|
|
31306
|
-
const WS_URL = `ws://${baseUrl}/audio/ws`; // 语音
|
|
31307
|
-
const AUDIO_URL = '/minio/lingxiaoai/byt.mp3'; // 导览
|
|
31308
|
-
const TIME_JUMP_POINTS_URL = '/minio/lingxiaoai/timeJumpPoints.json'; // 语音url跳转节点
|
|
31309
31303
|
;// ./components/mixins/webSocketMixin.js
|
|
31310
31304
|
|
|
31311
31305
|
|
|
31312
31306
|
|
|
31307
|
+
// import { WS_URL } from '../config/index.js'
|
|
31313
31308
|
|
|
31314
31309
|
/* harmony default export */ var webSocketMixin = ({
|
|
31315
31310
|
data() {
|
|
@@ -31326,7 +31321,7 @@ const TIME_JUMP_POINTS_URL = '/minio/lingxiaoai/timeJumpPoints.json'; // 语音u
|
|
|
31326
31321
|
try {
|
|
31327
31322
|
// this.ws = new WebSocket('ws://10.2.233.41:9999');
|
|
31328
31323
|
// 测试
|
|
31329
|
-
this.ws = new WebSocket(
|
|
31324
|
+
this.ws = new WebSocket('ws://192.168.8.87/audio/ws/');
|
|
31330
31325
|
this.ws.binaryType = 'arraybuffer';
|
|
31331
31326
|
this.ws.onopen = async () => {
|
|
31332
31327
|
console.log('WebSocket 连接成功');
|
|
@@ -31548,6 +31543,12 @@ class StreamParser {
|
|
|
31548
31543
|
this.reset();
|
|
31549
31544
|
}
|
|
31550
31545
|
}
|
|
31546
|
+
;// ./components/config/index.js
|
|
31547
|
+
const baseUrl = window.location.host;
|
|
31548
|
+
const API_URL = `/lingxiao-byt/api/v1/mcp/ask`; // 对话
|
|
31549
|
+
const WS_URL = (/* unused pure expression or super */ null && (`ws://${baseUrl}/audio/ws/`)); // 语音
|
|
31550
|
+
const AUDIO_URL = '/minio/lingxiaoai/byt.mp3'; // 导览
|
|
31551
|
+
const TIME_JUMP_POINTS_URL = '/minio/lingxiaoai/timeJumpPoints.json'; // 语音url跳转节点
|
|
31551
31552
|
;// ./components/utils/Cookie.js
|
|
31552
31553
|
const setCookie = (name, value, days) => {
|
|
31553
31554
|
const d = new Date();
|