Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
valetanddama authored Oct 4, 2018
1 parent 6654ec8 commit 5bfbb81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ For detect client ip address we use X-Forwarded-For header and select left-most
import "github.com/valetanddama/proxytrust"

func main() {
routing := mux.NewRouter()
routing = proxytrust.TrustProxyClientIp(routing)
http.ListenAndServe("localhost:4000", routing)
routing := mux.NewRouter()
routing = proxytrust.TrustProxyClientIp(routing)

http.ListenAndServe("localhost:4000", routing)
}
```

Expand Down

0 comments on commit 5bfbb81

Please sign in to comment.