From a9a5cafcac967f705cd4df11a374fba8f0453c96 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 27 Sep 2025 16:26:07 -0500 Subject: [PATCH] Don't hardcode gitnostr.com --- src/components/GitDialog.tsx | 2 +- src/components/NostrProvider.tsx | 1 - src/lib/git.ts | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/GitDialog.tsx b/src/components/GitDialog.tsx index b2c4d6b5..e53629ee 100644 --- a/src/components/GitDialog.tsx +++ b/src/components/GitDialog.tsx @@ -47,7 +47,7 @@ import { cn } from '@/lib/utils'; import { findCredentialsForRepo } from '@/lib/gitCredentials'; import { nip19 } from 'nostr-tools'; -const GRASP_SERVERS = ["git.shakespeare.diy", "relay.ngit.dev", "gitnostr.com"]; +const GRASP_SERVERS = ["git.shakespeare.diy", "relay.ngit.dev"]; interface GitDialogProps { projectId: string; diff --git a/src/components/NostrProvider.tsx b/src/components/NostrProvider.tsx index 7b89ae81..b902f297 100644 --- a/src/components/NostrProvider.tsx +++ b/src/components/NostrProvider.tsx @@ -18,7 +18,6 @@ const GIT_KINDS = [ const GIT_RELAYS = [ 'wss://git.shakespeare.diy/', 'wss://relay.ngit.dev/', - 'wss://gitnostr.com/', ]; const NostrProvider: React.FC = (props) => { diff --git a/src/lib/git.ts b/src/lib/git.ts index 93dcc008..2504755a 100644 --- a/src/lib/git.ts +++ b/src/lib/git.ts @@ -911,7 +911,6 @@ export class Git { const gitRelays = new Set([ 'wss://git.shakespeare.diy/', 'wss://relay.ngit.dev/', - 'wss://gitnostr.com/', 'wss://relay.nostr.band/', // General purpose relay as fallback ]); @@ -1396,7 +1395,6 @@ export class Git { relayUrls.push( 'wss://git.shakespeare.diy/', 'wss://relay.ngit.dev/', - 'wss://gitnostr.com/', 'wss://relay.nostr.band/' ); }