Fix data file serving for nested paths (images in galleries)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-22 14:18:58 -04:00
parent c0501c6e3c
commit dd751105ec
+1 -1
View File
@@ -1045,7 +1045,7 @@ async def api_directory_tree(req, resp):
# --- Data file serving ---
@api.route("/data/{path}")
@api.route("/data/{path:path}")
async def serve_data_file(req, resp, *, path):
"""Serve static files from the data directory."""
file_path = DATA_DIR / path