Fix: Link to git hash references onBattery repo now

This commit is contained in:
helgeerbe 2023-04-27 21:55:07 +02:00
parent 46c733ca31
commit 80f1af32f8
3 changed files with 3 additions and 3 deletions

View File

@ -74,9 +74,9 @@ export default defineComponent({
},
versionInfoUrl(): string {
if (this.systemStatus.git_is_hash) {
return 'https://github.com/tbnobody/OpenDTU/commits/' + this.systemStatus.git_hash;
return 'https://github.com/helgeerbe/OpenDTU-OnBattery/commits/' + this.systemStatus.git_hash;
}
return 'https://github.com/tbnobody/OpenDTU/releases/tag/' + this.systemStatus.git_hash;
return 'https://github.com/helgeerbe/OpenDTU-OnBattery/releases/tag/' + this.systemStatus.git_hash;
}
},
});

View File

@ -60,7 +60,7 @@ export default defineComponent({
this.systemDataList.git_is_hash = true;
}
const fetchUrl = "https://api.github.com/repos/tbnobody/OpenDTU/compare/"
const fetchUrl = "https://api.github.com/repos/helgeerbe/OpenDTU-OnBattery/compare/"
+ this.systemDataList.git_hash + "...HEAD";
fetch(fetchUrl)

Binary file not shown.