update detail

This commit is contained in:
AceDataCloud committed 2022-04-03 22:25:04 +08:00
1 parent db1ee85cd2
commit 2e449feadb
2 files changed
+5 -10

No files matched your search

+1 -7
View File
@@ -9,12 +9,7 @@
</el-row>
</el-col>
<el-col :span="18" class="main">
<!-- <episode-player :resource="episode?.resourceUrl" v-if="episode?.resourceUrl" :preview="episode?.thumbnail" /> -->
<episode-player
resource="https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8"
v-if="episode?.resourceUrl"
:preview="episode?.thumbnail"
/>
<episode-player :resource="episode?.resourceUrl" v-if="episode?.resourceUrl" :preview="episode?.thumbnail" />
</el-col>
</el-row>
</template>
@@ -76,7 +71,6 @@ export default defineComponent({
},
methods: {
onChoose(episode: IEpisode) {
console.log('e', episode);
this.$router.push({
...this.$route,
params: {
+4 -3
View File
@@ -1,7 +1,6 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import replace from '@rollup/plugin-replace';
import pkg from './package.json';
import { string } from 'rollup-plugin-string';
import path from 'path';
import fs from 'fs';
@@ -20,6 +19,10 @@ export default defineConfig({
target: 'http://localhost:8000',
changeOrigin: true
},
'/static': {
target: 'http://localhost:8000',
changeOrigin: true
},
'/ws': {
target: 'ws://localhost:8000',
changeOrigin: true,
@@ -34,8 +37,6 @@ export default defineConfig({
}),
replace({
preventAssignment: true
// VDITOR_VERSION: JSON.stringify(pkg.dependencies.vditor.replace(/^[\^\~]/g, '')),
// '_VDITOR_VERSION as VDITOR_VERSION': ''
})
],
resolve: {