Skip to content

Commit

Permalink
Merge pull request #87 from getAlby/task-update-proxy
Browse files Browse the repository at this point in the history
chore: update proxy address to api.getalby.com
  • Loading branch information
im-adithya authored Oct 5, 2023
2 parents ef6dc28 + 40b3cc4 commit bf3b6b8
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 bf3b6b8

Please sign in to comment.