update img tags and correct deploy
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-03-10 09:52:42 +01:00
parent d930de2081
commit 26676ab4e9
6 changed files with 53 additions and 26 deletions
+7 -1
View File
@@ -63,11 +63,17 @@ export async function getStaticProps(context) {
// console.log(githubResp);
var publicGithubRepos = await githubResp.json();
console.log(publicGithubRepos);
} catch (error) {
console.warn(error);
}
for (const repo of publicGithubRepos) {
if (publicGiteaRepos.documentation_url) {
console.error(publicGithubRepos);
publicGithubRepos = [];
}
for (const repo in publicGithubRepos) {
var resp = await fetch(
"https://api.github.com/repos/" + repo.full_name + "/languages",
{