From ae68285fe742234faf0bec3ec853844ba878f512 Mon Sep 17 00:00:00 2001 From: Adam Fisk Date: Fri, 26 Apr 2024 11:38:17 -0400 Subject: [PATCH] Reverted back - was working --- Makefile | 2 +- http_proxy.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c117e1ee..22a700b4 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ local-proxy: local-rts $(DIST_DIR)/http-proxy: $(SRCS) GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \ go build -o $(DIST_DIR)/http-proxy \ - -ldflags="-X main.revision=$(GIT_REVISION) -X main.build_type=$(BUILD_TYPE)" \ + -ldflags="-X main.revision=$(GIT_REVISION) -X main.build_type=$(BUILD_TYPE) -X proxy.teleportHost=$(TELEPORT_HOST)" \ ./http-proxy distnochange: $(DIST_DIR)/http-proxy diff --git a/http_proxy.go b/http_proxy.go index d56011f6..5e6f76a8 100644 --- a/http_proxy.go +++ b/http_proxy.go @@ -73,7 +73,7 @@ import ( const ( timeoutToDialOriginSite = 10 * time.Second - teleportHost = "telemetry.iantem.io:443" + teleportHost = "" ) var (