Skip to content

Commit

Permalink
relay: do not auto set env ALT_SVC to webteleport="$UDP_PORT"
Browse files Browse the repository at this point in the history
  • Loading branch information
navigaid committed Mar 20, 2024
1 parent b1da4df commit 9fabe48
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions apps/relay/envs/envs.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
package envs

import (
"fmt"

"github.com/webteleport/utils"
)
import "github.com/webteleport/utils"

var (
HOST = utils.EnvHost("localhost")
Expand All @@ -14,5 +10,5 @@ var (
HTTP_PORT = utils.EnvHTTPPort(PORT)
UDP_PORT = utils.EnvUDPPort(PORT)
HTTPS_PORT = utils.LookupEnvPort("HTTPS_PORT")
ALT_SVC = utils.EnvAltSvc(fmt.Sprintf(`webteleport="%s"`, UDP_PORT))
ALT_SVC = utils.EnvAltSvc("")
)

0 comments on commit 9fabe48

Please sign in to comment.