Domain degisikligi: fristy.net -> fristy.dev

This commit is contained in:
fristy committed 2026-10-15 21:43:19 +03:00
1 parent ed149ded52
commit b98acd0cde
18 files changed
+165 -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 [];