Skip to content

Commit

Permalink
chore: update proxy address to api.getalby.com
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Oct 5, 2023
1 parent ef6dc28 commit 40b3cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightning-address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 40b3cc4

Please sign in to comment.