Skip to content

Commit

Permalink
fix download url
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetWq committed Apr 30, 2024
1 parent e4a38aa commit 330628d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meme_generator/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def get_fastest_mirror() -> List[str]:
async def head_mirror(client: httpx.AsyncClient, base_url: str):
begin_time = time.time()
response = await client.head(
_resource_url(base_url, "resources/fonts/NotoSansSC-Regular.otf"), timeout=5
_resource_url(base_url, "resources/fonts/NotoSansSC-Regular.ttf"), timeout=5
)
response.raise_for_status()
elapsed_time = (time.time() - begin_time) * 1000
Expand Down

0 comments on commit 330628d

Please sign in to comment.