import { main } from "./src/main.ts"; let allowUnauthedPublish = Boolean(process.env.ALLOW_UNAUTHED_PUBLISH) || false; let relay = process.env.RELAY_URL ?? Bun.argv[Bun.argv.length - 1]; if (!relay?.startsWith("wss://") && !relay?.startsWith("ws://")) relay = "wss://relay.arx-ccn.com"; main(relay, allowUnauthedPublish)