Skip to content

Commit 9158805

Browse files
authored
Fix redirect URL
1 parent bb83e41 commit 9158805

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html data-destination="https://bioimage.io/#/">
2+
<html>
33
<head>
44
<noscript><meta id="redirect" http-equiv="refresh" content="0; url=https://bioimage.io/#/"></noscript>
55
</head>
@@ -9,8 +9,7 @@
99

1010
<!-- Redirect in JavaScript with meta refresh fallback above in noscript -->
1111
<script>
12-
var destination = document.documentElement.getAttribute('data-destination');
13-
window.location.href = destination + (window.location.search || '') + (window.location.hash || '');
12+
window.location.href = window.location.href.split("?")[0].replace('index.html', '') + 'collection.json';
1413
</script>
1514
</body>
1615
</html>

0 commit comments

Comments
 (0)