diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a0143727..38cbd499 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -60,8 +60,8 @@ jobs: export VITE_BUILD_HASH="${HEAD_SHA:0:8}" pnpm run build - # src/app.html hardcodes plausible with data-domain="flotilla.social"; - # a preview must not report into production analytics. + # src/app.html carries a plausible tag pointed at production analytics, + # whatever its data-domain says; a preview must not report into them. perl -0777 -i -pe \ 's|||gs' \ build/index.html diff --git a/src/app/components/ThreadItem.svelte b/src/app/components/ThreadItem.svelte deleted file mode 100644 index 677d6e7c..00000000 --- a/src/app/components/ThreadItem.svelte +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {#if title} -
-

{title}

-

- {formatTimestamp(event.created_at)} -

-
- {:else} - - {/if} - -
- - Posted by - - {#if h} - in - {/if} - - -
-
diff --git a/src/routes/people/[npub]/+page.svelte b/src/routes/people/[npub]/+page.svelte index 0349ee65..7cd45b8c 100644 --- a/src/routes/people/[npub]/+page.svelte +++ b/src/routes/people/[npub]/+page.svelte @@ -30,7 +30,7 @@ onMount(async () => { if (!pubkey) { - return goto("/people", {replaceState: true}) + return goto("/", {replaceState: true}) } try {