add new front

This commit is contained in:
Kseninia Mikhaylova 2024-11-20 15:57:35 +03:00
parent 6cdc2d7f9a
commit bec1968df6
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ async def handle_widget_post(request: Request):
deal_id = 49
logger.info(result)
html_file = NUXT_DIST / f"deal/index.html?deal_id={deal_id}"
html_file = NUXT_DIST / f"/deal/index.html?deal_id={deal_id}"
if html_file.exists():
html_content = html_file.read_text()
return HTMLResponse(content=html_content, status_code=200)