update link indexes for releases script

This commit is contained in:
Daniel Micay 2019-05-09 18:18:09 -04:00
parent 22ef4dd31a
commit 947599ca50
2 changed files with 4 additions and 4 deletions

View File

@ -319,6 +319,6 @@
<a href="https://github.com/GrapheneOS">GitHub</a>
</div>
</footer>
<script src="/releases.js?5"></script>
<script src="/releases.js?6"></script>
</body>
</html>

View File

@ -43,9 +43,9 @@ for (const channel of channels) {
const links = release.getElementsByTagName("a");
release.replaceChild(createLink(factoryUrl, factoryFilename), links[1]);
release.replaceChild(createLink(factoryUrl + ".sig", factoryFilename + ".sig"), links[2]);
release.replaceChild(createLink(updateUrl, updateFilename), links[3]);
release.replaceChild(createLink(factoryUrl, factoryFilename), links[2]);
release.replaceChild(createLink(factoryUrl + ".sig", factoryFilename + ".sig"), links[3]);
release.replaceChild(createLink(updateUrl, updateFilename), links[4]);
});
}
}