Skip to content

Commit

Permalink
Less ambiguous HTTP settings
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Mar 19, 2017
1 parent 2a5f4b6 commit 31cff9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Expand Up @@ -124,14 +124,14 @@ func main() {
r.POST("/v1/db/:dbname/move", handleMove) // Move keys, with buckets and keys specified by JSON
r.POST("/v1/db/:dbname/create", handleCreateDB) // Move keys, with buckets and keys specified by JSON

fmt.Printf("boltdb-server (v. %s) running on %s:%s\n", version, GetLocalIP(), port)
fmt.Printf("boltdb-server (v.%s) running on http://%s:%s\n", version, GetLocalIP(), port)
r.Run(":" + port) // listen and serve on 0.0.0.0:8080
return nil
}
app.Flags = []cli.Flag{
cli.StringFlag{
Name: "port, p",
Value: "8080",
Value: "8050",
Usage: "port to use to listen",
},
cli.StringFlag{
Expand Down

0 comments on commit 31cff9f

Please sign in to comment.