Skip to content

Commit

Permalink
remove golbin tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Becivells committed Oct 16, 2021
1 parent 877b321 commit fb86c71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/reverse/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (reverse *Reverse) ModifyResponse(shost string) func(response *http.Respons
}

}
response.Header.Add("GoblinServer", Version)
//response.Header.Add("GoblinServer", Version)
err := reverse.modifyLocationHeader(shost, response)
if err != nil {
log.Info(err.Error())
Expand Down
2 changes: 1 addition & 1 deletion internal/reverse/reverse.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ func (reverse *Reverse) ServeHTTP(w http.ResponseWriter, r *http.Request) {
proxy.ServeHTTP(w, r)
return
}
w.Header().Set("GoblinServer", Version)
//w.Header().Set("GoblinServer", Version)
w.Write([]byte("403: Host forbidden"))
}

0 comments on commit fb86c71

Please sign in to comment.