Skip to content

Commit

Permalink
fix: index.html dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ForeverSc committed Jun 2, 2024
1 parent 0bb4cde commit 2aaf1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h3>Play Video</h3>
</main>
<script type="module">
(async () => {
const isDev = import.meta.env && import.meta.env.DEV
const isDEV = import.meta.env && import.meta.env.DEV
const { WebDemuxer } = isDEV ? await import('./src') : await import('https://cdn.jsdelivr.net/npm/web-demuxer@latest/dist/web-demuxer.js')

const demuxer = new WebDemuxer({
Expand Down

0 comments on commit 2aaf1aa

Please sign in to comment.