mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2025-07-02 02:49:26 +00:00
Add feature to get the right client port when using a trusted proxy
This commit is contained in:
2
Makefile
2
Makefile
@ -16,7 +16,7 @@ integration-test:
|
||||
.PHONY: install-tools
|
||||
install-tools:
|
||||
@command golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.45.0; \
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.45.2; \
|
||||
fi
|
||||
|
||||
@command $(GOPATH)/shadow > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||
|
Reference in New Issue
Block a user