Skip to content

Commit ee454c4

Browse files
committed
base
0 parents  commit ee454c4

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/snapshot

Diff for: index.html

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<html>
2+
<body>
3+
4+
<script>
5+
fetch("versions.json").then(function (it) {
6+
return it.json()
7+
}).then(function (array) {
8+
var ver = array[array.length - 1];
9+
if (location.href.endsWith("/")) {
10+
location.href += ver
11+
} else {
12+
location.href += "/" + ver
13+
}
14+
})
15+
</script>
16+
17+
</body>
18+
</html>

Diff for: versions.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

0 commit comments

Comments
 (0)