You've already forked favicon-api-v3
25.09.01
This commit is contained in:
@@ -34,7 +34,7 @@ async def get_favicon(
|
||||
bg_tasks: BackgroundTasks,
|
||||
url: Optional[str] = Query(None, description="网址:eg. https://www.baidu.com"),
|
||||
refresh: Optional[str] = Query(None, include_in_schema=False),
|
||||
sync: Optional[str] = Query(False, description="是否使用同步方式获取")
|
||||
sync: Optional[str] = Query('false', description="是否使用同步方式获取")
|
||||
):
|
||||
"""获取网站图标"""
|
||||
return await _service.get_favicon_handler(request, bg_tasks, url, refresh, sync)
|
||||
|
||||
Reference in New Issue
Block a user