Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 2070b02

Browse files
authored
Simplify redirect message in sourceRedirect.html
Removed manual link fallback and updated redirect message.
1 parent 83e2b2b commit 2070b02

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sourceRedirect.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,19 @@
1818

1919
if(appName && path) {
2020
const redirectURL = `${appName}://${path}=https://prostore-ios.github.io/apps.json`;
21+
22+
// Show redirecting message
23+
document.body.innerHTML = `<p>Opening <strong>${appName}</strong>...</p>`;
24+
2125
// Redirect
2226
window.location.href = redirectURL;
23-
24-
// Update manual link as fallback
25-
document.body.innerHTML = `<p>Redirecting...<br>If nothing happens, <a href="${redirectURL}">click here</a>.</p>`;
2627
} else {
2728
document.body.innerHTML = "<h1>Missing app or path parameter!</h1>";
2829
}
2930
});
3031
</script>
3132
</head>
3233
<body>
33-
<p>Redirecting…<br>If nothing happens, <a id="manual-link">click here</a>.</p>
34+
<p>Redirecting…</p>
3435
</body>
3536
</html>

0 commit comments

Comments
 (0)