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
4
lnurl.py
4
lnurl.py
|
|
@ -1,7 +1,9 @@
|
|||
from http import HTTPStatus
|
||||
from urllib.parse import urlparse
|
||||
|
||||
from fastapi import Request, Query
|
||||
from fastapi import Query, Request
|
||||
from lnurl import LnurlErrorResponse, LnurlPayActionResponse, LnurlPayResponse
|
||||
from loguru import logger
|
||||
from starlette.exceptions import HTTPException
|
||||
|
||||
from lnbits.core.services import create_invoice
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue