mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Include relay host in Nostr URIs when possible
This commit is contained in:
4 files changed
+18
-4
No files matched your search
@@ -142,7 +142,11 @@ export function ConfigureRepoStep({
|
||||
await new Promise(resolve => setTimeout(resolve, 5000));
|
||||
|
||||
// Construct Nostr URI
|
||||
const nostrURI = new NostrURI({ pubkey: repoEvent.pubkey, identifier: projectId });
|
||||
const nostrURI = new NostrURI({
|
||||
pubkey: repoEvent.pubkey,
|
||||
identifier: projectId,
|
||||
relay: [...relays][0],
|
||||
});
|
||||
|
||||
// Configure the Nostr URI as the origin
|
||||
await git.addRemote({
|
||||
|
||||
Reference in new issue
Block a user