feat: implement template storage and download functionality with Docker support

This commit is contained in:
2026-01-09 08:07:18 +01:00
parent 661f57cace
commit 97a12a3bcd
9 changed files with 106 additions and 4 deletions

View File

@@ -151,7 +151,7 @@ export default function TemplateList({ templates, onTemplateDeleted, onTemplateU
<Button
variant="outline"
size="sm"
onClick={() => window.open(template.file_path, "_blank")}
onClick={() => window.open(`/api/templates/download/${template.stored_filename}`, "_blank")}
>
Pobierz
</Button>