mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Fix creation of nostr:// URIs
This commit is contained in:
1 file changed
+2
-2
@@ -424,8 +424,8 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog
|
||||
});
|
||||
|
||||
// Set origin remote to Nostr URL
|
||||
// Format: nostr://<hex-pubkey>/<repo-id>
|
||||
const nostrUrl = `nostr://${user.pubkey}/${projectId}`;
|
||||
// Format: nostr://<npub>/<repo-id>
|
||||
const nostrUrl = `nostr://${nip19.npubEncode(user.pubkey)}/${projectId}`;
|
||||
|
||||
try {
|
||||
// Remove existing origin if it exists
|
||||
|
||||
Reference in new issue
Block a user