add redirect paths
This commit is contained in:
parent
f904c78462
commit
1176fd0322
2 changed files with 18 additions and 0 deletions
11
__init__.py
11
__init__.py
|
|
@ -17,6 +17,17 @@ lnurlp_static_files = [
|
|||
"name": "lnurlp_static",
|
||||
}
|
||||
]
|
||||
|
||||
lnurlp_redirect_paths = [
|
||||
{
|
||||
"from_path": "/.well-known/lnurlp",
|
||||
"redirect_to_path": "/api/v1/well-known",
|
||||
"header_filters": {
|
||||
"accept": "application/json"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
scheduled_tasks: List[asyncio.Task] = []
|
||||
|
||||
lnurlp_ext: APIRouter = APIRouter(prefix="/lnurlp", tags=["lnurlp"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue