mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-05 16:37:09 +00:00
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user