Don't hardcode gitnostr.com

This commit is contained in:
Alex Gleason committed 2025-09-27 16:26:07 -05:00
1 parent 2db9d5e513
commit a9a5cafcac
3 files changed
+1 -4

No files matched your search

+1 -1
View File
@@ -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;
-1
View File
@@ -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<NostrProviderProps> = (props) => {
-2
View File
@@ -911,7 +911,6 @@ export class Git {
const gitRelays = new Set<string>([
'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/'
);
}