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:
parent
7d32a36d51
commit
049826071c
3 changed files with 13 additions and 5 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue