mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 06:48:02 +01:00
request issues again
This commit is contained in:
parent
ae50b909eb
commit
b33f0ecae2
1 changed files with 4 additions and 3 deletions
|
@ -16,9 +16,10 @@ from ..tasks import api_invoice_listeners
|
|||
@core_app.get("/.well-known/lnurlp/{username}")
|
||||
async def lnaddress(username: str, request: Request):
|
||||
from lnbits.extensions.lnaddress.lnurl import lnurl_response
|
||||
domain = request.client
|
||||
root_url = urlparse(str(request.url)).netloc
|
||||
print("client", root_url, request.client)
|
||||
|
||||
# domain = request.client
|
||||
domain = urlparse(str(request.url)).netloc
|
||||
# print("client", root_url, request.client)
|
||||
return await lnurl_response(username, domain, request)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue