Skip to content

Commit

Permalink
bump to 0.7.4
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <lucas59356@gmail.com>
  • Loading branch information
lucasew committed Nov 1, 2024
1 parent 96954b1 commit 6272f58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (tps *TailscaleHTTPProxyServer) ServeHTTP(w http.ResponseWriter, r *http.Re
w.WriteHeader(500)
return
}
if r.URL.Hostname() != tps.server.Hostname() {
if r.URL.Hostname() != "" && r.URL.Hostname() != tps.server.Hostname() {
destinationURL := new(url.URL)
*destinationURL = *r.URL
destinationURL.Host = tps.server.Hostname() + tps.server.options.Listen
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.3
0.7.4

0 comments on commit 6272f58

Please sign in to comment.