Lat/Lon Box

This commit is contained in:
johannrichard 2018-10-28 12:35:52 +01:00
parent 52ab121bb5
commit 089728a119
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}