--
This commit is contained in:
@@ -124,7 +124,7 @@ async def thumbnail(request: Request, path: str) -> Response:
|
||||
str(fonts_dir / "InterBIZUD-Regular.ttf"),
|
||||
str(fonts_dir / "InterBIZUD-Bold.ttf"),
|
||||
]
|
||||
png = resvg_py.svg_to_bytes(svg, font_files=font_files, width=1200, height=600)
|
||||
png = resvg_py.svg_to_bytes(svg, font_files=font_files, width=1200, height=630)
|
||||
return Response(content=png, media_type="image/png")
|
||||
|
||||
@app.api_route("/{full_path:path}", methods=["GET", "POST", "HEAD"])
|
||||
|
||||
Reference in New Issue
Block a user