alter injection of tpos to match
This commit is contained in:
@@ -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",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user