mirror of https://github.com/mpolden/echoip
Lat/Lon Box
This commit is contained in:
parent
52ab121bb5
commit
089728a119
|
@ -48,7 +48,7 @@ func main() {
|
|||
log.Printf("Trusting header(s) %+v to contain correct remote IP", opts.IPHeaders)
|
||||
}
|
||||
|
||||
log.Printf("Listening on http://%s", if os.Getenv("PORT") != "" os.Getenv("CUSTOM") else opts.Listen)
|
||||
log.Printf("Listening on http://%s", opts.Listen)
|
||||
if err := server.ListenAndServe(opts.Listen); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue