Skip to content

Commit

Permalink
update universal link regex
Browse files Browse the repository at this point in the history
  • Loading branch information
lanchana committed Sep 14, 2021
1 parent 9c76d8f commit 4c32bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/incoming-data/incoming-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class IncomingDataProvider {
}

private isValidBitPayInvoice(data: string): boolean {
return !!/^https:\/\/(www.)?(test.|staging.|link.|link.test.|link.staging.)?bitpay.com\/i\/\w+/.exec(
return !!/^https:\/\/(www\.|link\.)?(test\.|staging\.)?bitpay\.com\/i\/\w+/.exec(
data
);
}
Expand Down

0 comments on commit 4c32bce

Please sign in to comment.