mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-11 05:07:33 +00:00
net/tshttpproxy: move the TS_DEBUG_FAKE_PROXY_AUTH knob up a level
This commit is contained in:
@@ -14,7 +14,6 @@ import (
|
||||
"log"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"os"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -25,9 +24,6 @@ func init() {
|
||||
log.Printf("failed to get proxy Auth header for %v; ignoring: %v", proxyURL, err)
|
||||
return nil, nil
|
||||
}
|
||||
if fake := os.Getenv("TS_DEBUG_FAKE_PROXY_AUTH"); fake != "" {
|
||||
v = fake
|
||||
}
|
||||
if v == "" {
|
||||
return nil, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user