checks if hostname is .onion and change scheme (#11)

* checks if hostname is .onion and change scheme
* resolve @motorina0 's comments
This commit is contained in:
Tiago Vasconcelos 2023-09-24 19:22:48 +01:00 committed by GitHub
commit 049826071c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 5 deletions

View file

@ -15,13 +15,14 @@ from . import lnurlp_ext, scheduled_tasks
from .crud import (
create_pay_link,
delete_pay_link,
get_address_data,
get_pay_link,
get_pay_links,
update_pay_link,
get_address_data,
)
from .models import CreatePayLinkData
from .lnurl import api_lnurl_response
from .models import CreatePayLinkData
# redirected from /.well-known/lnurlp
@lnurlp_ext.get("/api/v1/well-known/{username}")