adjust lnurl endpoints and calls

This commit is contained in:
bitkarrot 2023-03-02 22:30:08 -08:00
commit e3fafa5c20
2 changed files with 2 additions and 0 deletions

View file

@ -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)