Spaces:
Running
Running
Commit
β’
daf05bf
1
Parent(s):
2b8c810
Update script.js
Browse files
script.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
document.addEventListener('DOMContentLoaded', function () {
|
2 |
// Proxy URL to bypass CORS policy
|
3 |
const proxyURL = 'https://api.allorigins.win/get?url=';
|
4 |
-
const playlistURL = '
|
5 |
const proxyPlaylistURL = proxyURL + encodeURIComponent(playlistURL);
|
6 |
|
7 |
fetch(proxyPlaylistURL)
|
|
|
1 |
document.addEventListener('DOMContentLoaded', function () {
|
2 |
// Proxy URL to bypass CORS policy
|
3 |
const proxyURL = 'https://api.allorigins.win/get?url=';
|
4 |
+
const playlistURL = 'h';
|
5 |
const proxyPlaylistURL = proxyURL + encodeURIComponent(playlistURL);
|
6 |
|
7 |
fetch(proxyPlaylistURL)
|