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">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
|
||||||
<title>CloudStream-3 Supported Sites</title>
|
<title>CloudStream-3 Supported Sites</title>
|
||||||
<link rel="stylesheet" href="/style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
<tbody id="siteList"></tbody>
|
<tbody id="siteList"></tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<script src="/script.js" type="text/javascript"></script>
|
<script src="script.js" type="text/javascript"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const count = document.getElementById("count")
|
const count = document.getElementById("count")
|
||||||
const mainContainer = document.getElementById("siteList");
|
const mainContainer = document.getElementById("siteList");
|
||||||
fetch("/providers.json" + "?v=" + Date.now())
|
fetch("providers.json" + "?v=" + Date.now())
|
||||||
.then(r => r.json())
|
.then(r => r.json())
|
||||||
.then(function (data) {
|
.then(function (data) {
|
||||||
count.innerHTML = Object.keys(data).length;
|
count.innerHTML = Object.keys(data).length;
|
||||||
|
|
Loading…
Reference in a new issue