forked from recloudstream/cloudstream
parent
dbbd0b29a7
commit
fc3caab866
2 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
|
||||
<title>CloudStream-3 Supported Sites</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -17,7 +17,7 @@
|
|||
<tbody id="siteList"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<script src="/script.js" type="text/javascript"></script>
|
||||
<script src="script.js" type="text/javascript"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const count = document.getElementById("count")
|
||||
const mainContainer = document.getElementById("siteList");
|
||||
fetch("/providers.json" + "?v=" + Date.now())
|
||||
fetch("providers.json" + "?v=" + Date.now())
|
||||
.then(r => r.json())
|
||||
.then(function (data) {
|
||||
count.innerHTML = Object.keys(data).length;
|
||||
|
@ -46,4 +46,4 @@ fetch("/providers.json" + "?v=" + Date.now())
|
|||
mainContainer.appendChild(node);
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue