Domain degisikligi: fristy.net -> fristy.dev
CI / Code Health (pull_request) Successful in 22s
CI / Lint, Test & Build (pull_request) Successful in 46s
CI / Code Health (push) Successful in 25s
CI / Lint, Test & Build (push) Successful in 54s
Deploy / Build & Push Image (push) Successful in 56s
Deploy / Trigger Deploy (push) Successful in 1s

This commit was merged in pull request #4.
This commit is contained in:
fristy committed 2026-10-15 21:48:52 +03:00
1 parent 0c30c18e24
commit ff18fc353d
17 files changed
+40 -37

No files matched your search

+4 -1
View File
@@ -5,6 +5,8 @@ const GITEA_USER = "fristy";
const EXCLUDED_REPOS = new Set([".profile"]);
const MAX_REPOS = 8;
export interface GiteaRepo {
id: number;
name: string;
@@ -56,7 +58,8 @@ export async function getRepos(): Promise<GiteaRepo[]> {
forks: repo.forks_count,
updatedAt: repo.updated_at,
}))
.sort((a, b) => +new Date(b.updatedAt) - +new Date(a.updatedAt));
.sort((a, b) => +new Date(b.updatedAt) - +new Date(a.updatedAt))
.slice(0, MAX_REPOS);
} catch {
warnDev("cannot fetch gitea repos");
return [];