Skip to content

Commit

Permalink
Fix download logic (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
tttol authored Jul 19, 2024
1 parent db397cc commit 0abdbcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func CliSdkHandler(w http.ResponseWriter, r *http.Request) {
return
} else if strings.Contains(userAgent, "command/s3.cp") {
awscli.Cp(w, r)
return
}

// AWS SDK request
Expand Down
1 change: 1 addition & 0 deletions web/s3_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func S3Handler(w http.ResponseWriter, r *http.Request) {
http.Error(w, err.Error(), status)
return
}
return
}

slog.Info("dataMap", "dataMap", dataMap)
Expand Down

0 comments on commit 0abdbcd

Please sign in to comment.