adjust lnurl endpoints and calls
This commit is contained in:
parent
57c36e50aa
commit
e3fafa5c20
2 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ from .lnurl import lnurl_response
|
|||
|
||||
@lnurlp_ext.get("/api/v1/well-known/{username}")
|
||||
async def lnaddress(username: str, request: Request):
|
||||
print("calling /api/v1/well-known")
|
||||
domain = urlparse(str(request.url)).netloc
|
||||
return await lnurl_response(username, domain, request)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue