diff --git a/index.ts b/index.ts index c00edb7..2e9d445 100644 --- a/index.ts +++ b/index.ts @@ -1,7 +1,7 @@ import { main } from "./src/main.ts"; let relay = process.env.RELAY_URL ?? Bun.argv[Bun.argv.length - 1]; -if (!relay?.startsWith("wss://")) +if (!relay?.startsWith("wss://") && !relay?.startsWith("ws://")) relay = "wss://relay.arx-ccn.com"; main(relay)