Ver código fonte

fixed the host header issue

Mohamed Al Ashaal 7 anos atrás
pai
commit
ff649b09b0
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      server.go

+ 0 - 1
server.go

@@ -30,7 +30,6 @@ func InitServer() error {
 			return errors.New("Unkown host(" + host + ")")
 		},
 	}
-	_ = m
 	s := &http.Server{
 		Addr:      *HTTPS_ADDR,
 		TLSConfig: &tls.Config{GetCertificate: m.GetCertificate},