+2
-2
src/lib/activity.ts
+2
-2
src/lib/activity.ts
···
64
64
const dateStr = commit.Author?.When;
65
65
66
66
activities.push({
67
-
source: 'knot.ptr.pet',
67
+
source: 'tangled',
68
68
description: `pushed ${repoName}: ${message}`,
69
69
link: `https://tangled.sh/${did}/${repoName}/commit/${hash}`,
70
70
date: dateStr ? new Date(dateStr) : null
···
84
84
const response = await fetch(url);
85
85
const feed = parseFeed(await response.text());
86
86
87
-
const source = new URL(url).host;
87
+
const source = new URL(url).host.split('.')[0];
88
88
const results: Activity[] = [];
89
89
for (const item of feed.items) {
90
90
const description: string | null = item.description || item.title;