This commit is contained in:
Kseninia Mikhaylova 2024-11-20 16:16:50 +03:00
parent 06240f1708
commit e464cb1584
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ async def handle_widget_post(request: Request):
deal_id = 49 deal_id = 49
logger.info(result) logger.info(result)
html_file = NUXT_DIST / f"/deal/index.html" html_file = NUXT_DIST / "deal/index.html"
if html_file.exists(): if html_file.exists():
html_content = html_file.read_text() html_content = html_file.read_text()
html_content = html_content.replace("data_deal_id:0", f"data_deal_id:{deal_id}") html_content = html_content.replace("data_deal_id:0", f"data_deal_id:{deal_id}")