Warn when trying to connect to bad urls

This commit is contained in:
Jon Staab
2024-11-08 14:35:26 -08:00
parent 8b320e7c9f
commit 07b439eef2
4 changed files with 15 additions and 4 deletions
+2 -2
View File
@@ -6,9 +6,9 @@ import type {HashedEvent, TrustedEvent} from './Events'
// Constants and types
export const LOCAL_RELAY_URL = "local://welshman.relay"
export const LOCAL_RELAY_URL = "local://welshman.relay/"
export const BOGUS_RELAY_URL = "bogus://welshman.relay"
export const BOGUS_RELAY_URL = "bogus://welshman.relay/"
export type RelayProfile = {
url: string