Fix relative path to firmware sources
This commit is contained in:
parent
6a485568a5
commit
46028b25f9
|
@ -43,7 +43,7 @@ var nodemcu = nodemcu || {};
|
|||
* replaces the relative path with an absolute path based on the selected branch.
|
||||
*/
|
||||
function replaceRelativeLinksWithStaticGitHubUrl() {
|
||||
var relativePath = "../../../..";
|
||||
var relativePath = "../../..";
|
||||
var gitHubPath = "https://github.com/nodemcu/nodemcu-firmware/tree/" + determineSelectedBranch();
|
||||
var gitHubLinks = $("a[href^='" + relativePath + "']").each(function (index) {
|
||||
var url = $(this).attr('href');
|
||||
|
|
Loading…
Reference in New Issue