fix lnurlp domain
This commit is contained in:
parent
6373767ad5
commit
d0403fc959
|
@ -8,7 +8,7 @@ export default async ({ query: { username } }, res) => {
|
|||
}
|
||||
|
||||
return res.status(200).json({
|
||||
callback: `${process.env.SELF_URL}/api/lnurlp/${username}/pay`, // The URL from LN SERVICE which will accept the pay request parameters
|
||||
callback: `https://stacker.news/api/lnurlp/${username}/pay`, // The URL from LN SERVICE which will accept the pay request parameters
|
||||
minSendable: 1000, // Min amount LN SERVICE is willing to receive, can not be less than 1 or more than `maxSendable`
|
||||
maxSendable: Number.MAX_SAFE_INTEGER,
|
||||
metadata: lnurlPayMetadataString(username), // Metadata json which must be presented as raw string here, this is required to pass signature verification at a later step
|
||||
|
|
Loading…
Reference in New Issue