Sfoglia il codice sorgente

fixed the host header issue

Mohamed Al Ashaal 7 anni fa
parent
commit
ff649b09b0
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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},