trying things

This commit is contained in:
Balackburn 2023-07-07 17:21:05 +02:00
parent e3ef84aeb9
commit 7687f6fc87
2 changed files with 15 additions and 4 deletions

View file

@ -2,12 +2,23 @@
<html> <html>
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Redirecting to Altstore Repo</title> <title>Altstore JSON Content</title>
<script> <script>
window.location.replace('https://raw.githubusercontent.com/Balackburn/YTLitePlusAltstore/main/apps.json'); fetch("https://raw.githubusercontent.com/Balackburn/YTLitePlusAltstore/main/apps.json")
.then((response) => {
if (!response.ok) {
throw new Error("HTTP error " + response.status);
}
return response.text();
})
.then((data) => {
document.body.innerHTML = "<pre>" + data + "</pre>";
})
.catch((error) => {
console.error("Fetch Error: ", error);
});
</script> </script>
</head> </head>
<body> <body>
<p>If you are not redirected automatically, <a href="https://raw.githubusercontent.com/Balackburn/YTLitePlusAltstore/main/apps.json">click here</a>.</p>
</body> </body>
</html> </html>

View file

@ -625,7 +625,7 @@
<p class="app__description">YTLite with more features!</p> <p class="app__description">YTLite with more features!</p>
<div class="app__buttons app__buttons--desktop"> <div class="app__buttons app__buttons--desktop">
<a class="app__button-ios" <a class="app__button-ios"
href="altstore://source/?url=https://raw.githubusercontent.com/Balackburn/YTLitePlus/AltstoreSource/apps.json" href="altstore://source/?url=https://balackburn.github.io/YTLitePlus/Altstore"
target="_blank" title="Add to Altstore"> target="_blank" title="Add to Altstore">
<img alt="Add to Altstore" src="./images/image_1.png" /> <img alt="Add to Altstore" src="./images/image_1.png" />
</a> </a>