Merge pull request #1897 from Aodi/main
This commit is contained in:
commit
89e3d16f27
@ -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:
|
||||||
"""
|
"""
|
||||||
通过图片代理(使用代理服务器)
|
通过图片代理(使用代理服务器)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user