diff --git a/cmd/tusd/cli/serve.go b/cmd/tusd/cli/serve.go index bb2f525..c1c563b 100644 --- a/cmd/tusd/cli/serve.go +++ b/cmd/tusd/cli/serve.go @@ -106,9 +106,9 @@ func Serve() { protocol = "https" } - if Flags.CorsOrigin != "" { - stdout.Printf("CORS origin header is %s", Flags.CorsOrigin) - } + if Flags.CorsOrigin != "" { + stdout.Printf("CORS origin header is %s", Flags.CorsOrigin) + } if Flags.HttpSock == "" { stdout.Printf("You can now upload files to: %s://%s%s", protocol, address, basepath)