http3: rename Server.QuicConfig to Server.QUICConfig (#4384)

This commit is contained in:
Marten Seemann
2024-03-24 07:39:34 +10:00
committed by GitHub
parent a19f99e98b
commit 89020e380a
6 changed files with 18 additions and 19 deletions

View File

@@ -87,7 +87,7 @@ func runHTTP3Server(quicConf *quic.Config) error {
server := http3.Server{
Addr: ":443",
TLSConfig: tlsConf,
QuicConfig: quicConf,
QUICConfig: quicConf,
}
http.DefaultServeMux.Handle("/", http.FileServer(http.Dir("/www")))
return server.ListenAndServe()