add redirect paths

This commit is contained in:
bitkarrot 2023-03-02 22:10:18 -08:00
commit 1176fd0322
2 changed files with 18 additions and 0 deletions

View file

@ -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"])