debug ios behavior

This commit is contained in:
Maycon Santos
2024-04-16 22:58:16 +02:00
parent e3b76448f3
commit 28a5b3062b
5 changed files with 53 additions and 4 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package net
import (
"os"
"runtime"
"github.com/google/uuid"
)
@@ -23,5 +24,5 @@ func GenerateConnID() ConnectionID {
}
func CustomRoutingDisabled() bool {
return os.Getenv(envDisableCustomRouting) == "true"
return os.Getenv(envDisableCustomRouting) == "true" || runtime.GOOS == "ios"
}