diff --git a/src/utils/invoices.js b/src/utils/invoices.js index 9692fe8..f00bd16 100644 --- a/src/utils/invoices.js +++ b/src/utils/invoices.js @@ -50,7 +50,7 @@ const handleLNURL = (invoice: string) => { const decodedLNURL = bech32.decode(invoice, 1500); const url = Buffer.from(bech32.fromWords(decodedLNURL.words)).toString(); - return axios.get(url, { + return axios.get('https://cors-anywhere.herokuapp.com/' + url, { headers: { 'Access-Control-Allow-Origin': '*', }