From 0ec5595204c217650099fdd0b48589b3032ef0dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B3=E4=BD=A9=E5=BA=AD?= Date: Mon, 14 Jul 2025 13:34:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8B=E8=BC=89=E6=AA=94?= =?UTF-8?q?=E6=A1=88=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 4313921..64a3e4c 100644 --- a/app.py +++ b/app.py @@ -45,5 +45,5 @@ def generate_pdf(data: TextRequest, request: Request): c.save() return { - "download_url": str(request.base_url.rstrip("/")) + f"/static/{filename}" + "download_url": str(request.base_url).rstrip("/") + f"/static/{filename}" }