From fb0018dda66a9bea3d9c7b8a74d505d48316f0a4 Mon Sep 17 00:00:00 2001 From: aodi Date: Fri, 19 Apr 2024 11:24:11 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8F=8D=E5=90=91=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?url=E6=94=B9=E4=B8=BA=E6=9F=A5=E8=AF=A2=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E5=8F=8C=E6=96=9C=E6=9D=A0=E7=9A=84=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/endpoints/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/endpoints/system.py b/app/api/endpoints/system.py index f9dbf575..b215dc29 100644 --- a/app/api/endpoints/system.py +++ b/app/api/endpoints/system.py @@ -26,7 +26,7 @@ from version import APP_VERSION router = APIRouter() -@router.get("/img/{proxy}/{imgurl:path}", summary="图片代理") +@router.get("/img/{proxy}", summary="图片代理") def get_img(imgurl: str, proxy: bool = False) -> Any: """ 通过图片代理(使用代理服务器)