fix: shows media instead of downloading

closes #50
This commit is contained in:
E44
2026-06-10 22:11:02 +02:00
parent b6150fdab0
commit 0a9d3af3eb
+1 -1
View File
@@ -194,7 +194,7 @@ func downloadFileRoute(ctx echo.Context) error {
slog.Info("Serving file for download", "path", fullPath)
return ctx.File(fullPath)
return ctx.Attachment(fullPath, filepath.Base(fullPath))
}
func openFileRoute(ctx echo.Context) error {