Browse Source

Production endpoints

master
Levi Olson 5 years ago
parent
commit
7c060f6ba2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main.go

+ 1
- 1
main.go View File

@ -43,7 +43,7 @@ func main() {
c.JSON(http.StatusOK, gin.H{"weather": response})
})
err := endless.ListenAndServe("localhost:8080", router)
err := endless.ListenAndServe("0.0.0.0:80", router)
if err != nil {
log.Fatalf("Error: %s\n", err)
}

Loading…
Cancel
Save