Lat/Lon Box

This commit is contained in:
johannrichard 2018-10-28 12:35:24 +01:00
parent 5f4db9c7d3
commit 52ab121bb5
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", os.Getenv("PORT") | opts.Listen)
log.Printf("Listening on http://%s", if os.Getenv("PORT") != "" os.Getenv("CUSTOM") else opts.Listen)
if err := server.ListenAndServe(opts.Listen); err != nil {
log.Fatal(err)
}