diff --git a/src/lightning-address.ts b/src/lightning-address.ts index 7559eee..a6503fe 100644 --- a/src/lightning-address.ts +++ b/src/lightning-address.ts @@ -18,7 +18,7 @@ import { KeysendResponse } from "./types"; const LN_ADDRESS_REGEX = /^((?:[^<>()\[\]\\.,;:\s@"]+(?:\.[^<>()\[\]\\.,;:\s@"]+)*)|(?:".+"))@((?:\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(?:(?:[a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; -export const DEFAULT_PROXY = "https://lnaddressproxy.getalby.com"; +export const DEFAULT_PROXY = "https://api.getalby.com/lnurl"; type LightningAddressOptions = { proxy?: string | false;