enable IPv6

This commit is contained in:
Michał Adamski 2023-03-31 11:06:24 +02:00
parent 150f215f81
commit 2cbe796cb2
No known key found for this signature in database
GPG key ID: 4875C0EC4DE5B18A

View file

@ -22,6 +22,7 @@ func main() {
ServerHeader: "privtracker",
ReadTimeout: time.Second * 245,
WriteTimeout: time.Second * 15,
Network: fiber.NetworkTCP,
}
domains, tls := os.LookupEnv("DOMAINS")
if !tls {