fix 编码斜杠禁用的反代无法加载图片

This commit is contained in:
aodi 2024-04-15 16:03:06 +08:00
parent 0f0ace5ddc
commit a02ea64068

View File

@ -26,7 +26,7 @@ from version import APP_VERSION
router = APIRouter() router = APIRouter()
@router.get("/img/{imgurl:path}/{proxy}", summary="图片代理") @router.get("/img/{proxy}/{imgurl:path}", summary="图片代理")
def get_img(imgurl: str, proxy: bool = False) -> Any: def get_img(imgurl: str, proxy: bool = False) -> Any:
""" """
通过图片代理使用代理服务器 通过图片代理使用代理服务器