Removed debug output

This commit is contained in:
Marc Ole Bulling
2024-04-13 19:43:06 +02:00
parent a7786f051d
commit 807b270124

View File

@@ -129,7 +129,6 @@ func initCloudConfig(passedFlags flagparser.MainFlags) {
encLevel := configuration.Get().Encryption.Level
env := environment.New()
corsCheckDisabled := passedFlags.DisableCorsCheck || env.DisableCorsCheck
fmt.Println(corsCheckDisabled)
if !corsCheckDisabled && (encLevel == encryption.FullEncryptionStored || encLevel == encryption.FullEncryptionInput) {
ok, err := aws.IsCorsCorrectlySet(cConfig.Aws.Bucket, configuration.Get().ServerUrl)
if err != nil {