disable insecure auth
This commit is contained in:
parent
085cdf5dbf
commit
17c8d06a33
1 changed files with 0 additions and 1 deletions
|
|
@ -49,7 +49,6 @@ func Start(domain, port, loglevel string, maxSize int, client Client) error {
|
||||||
s.ReadTimeout = 10 * time.Second
|
s.ReadTimeout = 10 * time.Second
|
||||||
s.WriteTimeout = 10 * time.Second
|
s.WriteTimeout = 10 * time.Second
|
||||||
s.MaxMessageBytes = maxSize * 1024 * 1024
|
s.MaxMessageBytes = maxSize * 1024 * 1024
|
||||||
s.AllowInsecureAuth = true
|
|
||||||
if log.GetLevel() == "DEBUG" || log.GetLevel() == "TRACE" {
|
if log.GetLevel() == "DEBUG" || log.GetLevel() == "TRACE" {
|
||||||
s.Debug = os.Stdout
|
s.Debug = os.Stdout
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue