diff --git a/public/playerVideo6/jessibuca.js b/public/playerVideo6/jessibuca.js index 1450494..fd0cfb6 100644 --- a/public/playerVideo6/jessibuca.js +++ b/public/playerVideo6/jessibuca.js @@ -37,6 +37,7 @@ hasControl: !1, loadingText: '', background: '', + // decoder: window.localStorage.getItem('deployPath') ? `${window.localStorage.getItem('deployPath')}/playerVideo6/decoder.js` : window.localStorage.getItem('systemType') === 'gm' ? `/alarm/playerVideo6/decoder.js` : `/safe/playerVideo6/decoder.js`, // 线上使用 decoder: `${window.localStorage.getItem('deployPath')}/playerVideo6/decoder.js`, // 线上使用 // decoder: `/playerVideo6/decoder.js`, // 本地使用 // decoder: import.meta.env.MODE === 'development' ? `/playerVideo6/decoder.js` : `${window.localStorage.getItem('deployPath')}/playerVideo6/decoder.js`, diff --git a/public/playerVideo6/jessibuca.js b/public/playerVideo6/jessibuca.js index 1450494..fd0cfb6 100644 --- a/public/playerVideo6/jessibuca.js +++ b/public/playerVideo6/jessibuca.js @@ -37,6 +37,7 @@ hasControl: !1, loadingText: '', background: '', + // decoder: window.localStorage.getItem('deployPath') ? `${window.localStorage.getItem('deployPath')}/playerVideo6/decoder.js` : window.localStorage.getItem('systemType') === 'gm' ? `/alarm/playerVideo6/decoder.js` : `/safe/playerVideo6/decoder.js`, // 线上使用 decoder: `${window.localStorage.getItem('deployPath')}/playerVideo6/decoder.js`, // 线上使用 // decoder: `/playerVideo6/decoder.js`, // 本地使用 // decoder: import.meta.env.MODE === 'development' ? `/playerVideo6/decoder.js` : `${window.localStorage.getItem('deployPath')}/playerVideo6/decoder.js`, diff --git a/src/main.ts b/src/main.ts index 3376242..045632c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,7 @@ } axios - .get('./config/config.json?') + .get('./config/config.json') .then((result) => { console.log('get config') console.log(result)