diff --git a/src/hooks/useNostrPublish.ts b/src/hooks/useNostrPublish.ts index 767dfa4..b9a3bc2 100644 --- a/src/hooks/useNostrPublish.ts +++ b/src/hooks/useNostrPublish.ts @@ -15,7 +15,7 @@ export function useNostrPublish(): UseMutationResult { const tags = t.tags ?? []; // Add the client tag if it doesn't exist - if (!tags.some((tag) => tag[0] === "client")) { + if (location.protocol === "https:" && !tags.some(([name]) => name === "client")) { tags.push(["client", location.hostname]); }