mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 00:43:30 +03:00
Update version picker for element-hq (#16880)
This commit is contained in:
parent
3ba984d7af
commit
d24d115706
2 changed files with 3 additions and 2 deletions
1
changelog.d/16880.doc
Normal file
1
changelog.d/16880.doc
Normal file
|
@ -0,0 +1 @@
|
|||
The version picker now correctly lists versions after `v1.98.0`.
|
|
@ -54,7 +54,7 @@ function fetchVersions(dropdown, dropdownMenu) {
|
|||
return new Promise((resolve, reject) => {
|
||||
window.addEventListener("load", () => {
|
||||
|
||||
fetch("https://api.github.com/repos/matrix-org/synapse/git/trees/gh-pages", {
|
||||
fetch("https://api.github.com/repos/element-hq/synapse/git/trees/gh-pages", {
|
||||
cache: "force-cache",
|
||||
}).then(res =>
|
||||
res.json()
|
||||
|
@ -124,4 +124,4 @@ function changeVersion(url, newVersion) {
|
|||
parsedURL.pathname = pathSegments.join('/');
|
||||
|
||||
return parsedURL.href;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue