new try
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 1m48s
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 1m48s
This commit is contained in:
5
main.go
5
main.go
@@ -6,7 +6,6 @@ import (
|
||||
"log"
|
||||
"net/http"
|
||||
|
||||
"github.com/quic-go/quic-go/http3"
|
||||
"github.com/quic-go/webtransport-go"
|
||||
)
|
||||
|
||||
@@ -29,12 +28,12 @@ func main() {
|
||||
go handleChatSession(session)
|
||||
})
|
||||
|
||||
server := http3.Server{
|
||||
server := &http.Server{
|
||||
Addr: ":8080",
|
||||
Handler: mux,
|
||||
}
|
||||
|
||||
fmt.Println("HTTP/3 server started")
|
||||
fmt.Println("Server started")
|
||||
|
||||
log.Fatal(server.ListenAndServe())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user