add tls version hardcode
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 2m3s

This commit is contained in:
Smile Rex
2026-03-03 23:23:59 +03:00
parent e0371694e2
commit e19ba4243c

View File

@@ -1,6 +1,7 @@
package main
import (
"crypto/tls"
"fmt"
"log/slog"
"net/http"
@@ -28,6 +29,7 @@ func main() {
// Поддержка протоколов для браузера и MoQ
tlsConfig.NextProtos = []string{"h3"}
tlsConfig.MinVersion = tls.VersionTLS13
// 2. Инициализация MoQ сервера
moqServer := moqt.Server{