Spaces:
Running
Running
Update peer.js
Browse files
peer.js
CHANGED
@@ -62,4 +62,4 @@ function parseM3U8(m3u8Text, baseUrl) {
|
|
62 |
|
63 |
var search = new URLSearchParams(location.search)
|
64 |
// 示例调用
|
65 |
-
fetchM3U8(search.get('url'));
|
|
|
62 |
|
63 |
var search = new URLSearchParams(location.search)
|
64 |
// 示例调用
|
65 |
+
fetchM3U8(location.origin + search.get('url'));
|