From b4d9fc1967f1d54ce7b0ac3961d00756b406b6f6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 16 Oct 2025 18:00:46 -0500 Subject: [PATCH] Fix creation of nostr:// URIs --- src/components/GitDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/GitDialog.tsx b/src/components/GitDialog.tsx index fd7517d7..8de746bf 100644 --- a/src/components/GitDialog.tsx +++ b/src/components/GitDialog.tsx @@ -424,8 +424,8 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog }); // Set origin remote to Nostr URL - // Format: nostr:/// - const nostrUrl = `nostr://${user.pubkey}/${projectId}`; + // Format: nostr:/// + const nostrUrl = `nostr://${nip19.npubEncode(user.pubkey)}/${projectId}`; try { // Remove existing origin if it exists