Merge pull request #1897 from Aodi/main

This commit is contained in:
jxxghp 2024-04-15 18:29:02 +08:00 committed by GitHub
commit 89e3d16f27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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:
""" """
通过图片代理使用代理服务器 通过图片代理使用代理服务器