diff --git a/src/nercone_website/server.py b/src/nercone_website/server.py index 6dfadf4..cf934d8 100644 --- a/src/nercone_website/server.py +++ b/src/nercone_website/server.py @@ -128,7 +128,7 @@ async def thumbnail(request: Request, path: str) -> Response: svg_filename = "error.svg" if template_type == "error" else "normal.svg" fonts_dir = Path.cwd().joinpath("public", "assets", "fonts") - svg_path = Path.cwd().joinpath("public", "assets", "images", "thumbnail", svg_filename) + svg_path = Path.cwd().joinpath("public", "assets", "images", "thumbnails", svg_filename) svg = svg_path.read_text(encoding="utf-8") svg = svg.replace("__PATH__", escape(path_display)) svg = svg.replace("__TITLE__", escape(title))