mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-22 14:22:55 +01:00
alter injection of tpos to match
This commit is contained in:
parent
2cb87d96f2
commit
ebeb3d213b
3 changed files with 7 additions and 3 deletions
|
@ -145,7 +145,7 @@ async def wallet(
|
|||
"user": user.dict(),
|
||||
"wallet": wallet.dict(),
|
||||
"service_fee": service_fee,
|
||||
"web_manifest": f"/manifest/{user.id}.webmanifest"
|
||||
"web_manifest": f"/manifest/{user.id}.webmanifest",
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<link rel="manifest" href="/tpos/manifest/{{ tpos.id }}.webmanifest" />
|
||||
{% extends "public.html" %}
|
||||
{% block toolbar_title %}
|
||||
{{ tpos.name }}
|
||||
|
|
|
@ -35,7 +35,12 @@ async def tpos(request: Request, tpos_id):
|
|||
)
|
||||
|
||||
return tpos_renderer().TemplateResponse(
|
||||
"tpos/tpos.html", {"request": request, "tpos": tpos}
|
||||
"tpos/tpos.html",
|
||||
{
|
||||
"request": request,
|
||||
"tpos": tpos,
|
||||
"web_manifest": f"/tpos/manifest/{tpos_id}.webmanifest",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue