mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-22 22:13:43 +01:00
Load versions.json from /latest
This commit is contained in:
parent
70904ff1a8
commit
49cda1f18f
|
|
@ -82,8 +82,7 @@ function appendVersion(parent, name, url) {
|
||||||
a.appendChild(text);
|
a.appendChild(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Load /latest/versions.json
|
fetch("/latest/versions.json")
|
||||||
fetch("/versions.json")
|
|
||||||
.then(r => r.json())
|
.then(r => r.json())
|
||||||
.then(versions => {
|
.then(versions => {
|
||||||
// Find the surrounding list element
|
// Find the surrounding list element
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue