added simple lnurl

This commit is contained in:
arcbtc 2023-12-08 20:39:27 +00:00
parent 2261bb8452
commit c87ccf7107
11 changed files with 154 additions and 39 deletions

View file

@ -49,11 +49,11 @@ async def temp(request: Request, temp_id):
)
# Customise a manifest, or remove manifest completely
# Manifest, customise or remove manifest completely
@temp_ext.get("/manifest/{temp_id}.webmanifest")
async def manifest(temp_id: str):
remp= await get_temp(temp_id)
temp= await get_temp(temp_id)
if not temp:
raise HTTPException(
status_code=HTTPStatus.NOT_FOUND, detail="Temp does not exist."