From bec1968df6dda4a217223128879ad23efb7c0698 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Wed, 20 Nov 2024 15:57:35 +0300 Subject: [PATCH] add new front --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index c471bb9..9570c78 100644 --- a/app/main.py +++ b/app/main.py @@ -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)