new try
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 1m48s

This commit is contained in:
Smile Rex
2026-03-10 01:16:02 +03:00
parent 6ace91a21a
commit 75446d73ef

View File

@@ -6,7 +6,6 @@ import (
"log" "log"
"net/http" "net/http"
"github.com/quic-go/quic-go/http3"
"github.com/quic-go/webtransport-go" "github.com/quic-go/webtransport-go"
) )
@@ -29,12 +28,12 @@ func main() {
go handleChatSession(session) go handleChatSession(session)
}) })
server := http3.Server{ server := &http.Server{
Addr: ":8080", Addr: ":8080",
Handler: mux, Handler: mux,
} }
fmt.Println("HTTP/3 server started") fmt.Println("Server started")
log.Fatal(server.ListenAndServe()) log.Fatal(server.ListenAndServe())
} }