This commit is contained in:
2026-04-15 11:50:53 +09:00
parent f26f9ab652
commit 7b7ffa8bb6
+1 -1
View File
@@ -104,7 +104,7 @@ async def default_response(request: Request, full_path: str) -> Response:
markdown_mode = False
if "curl" in request.headers.get("user-agent", "").lower():
markdown_mode = True
elif full_path.endswith(".md"):
if full_path.endswith(".md"):
markdown_mode = True
full_path = full_path[:-3] + ".html"