diff --git a/web/controller.go b/web/controller.go index 2bc66bf..153fba0 100644 --- a/web/controller.go +++ b/web/controller.go @@ -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 diff --git a/web/s3_controller.go b/web/s3_controller.go index fe59487..0198176 100644 --- a/web/s3_controller.go +++ b/web/s3_controller.go @@ -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)