Skip to content

Commit 31cff9f

Browse files
committed
Less ambiguous HTTP settings
1 parent 2a5f4b6 commit 31cff9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ func main() {
124124
r.POST("/v1/db/:dbname/move", handleMove) // Move keys, with buckets and keys specified by JSON
125125
r.POST("/v1/db/:dbname/create", handleCreateDB) // Move keys, with buckets and keys specified by JSON
126126

127-
fmt.Printf("boltdb-server (v. %s) running on %s:%s\n", version, GetLocalIP(), port)
127+
fmt.Printf("boltdb-server (v.%s) running on http://%s:%s\n", version, GetLocalIP(), port)
128128
r.Run(":" + port) // listen and serve on 0.0.0.0:8080
129129
return nil
130130
}
131131
app.Flags = []cli.Flag{
132132
cli.StringFlag{
133133
Name: "port, p",
134-
Value: "8080",
134+
Value: "8050",
135135
Usage: "port to use to listen",
136136
},
137137
cli.StringFlag{

0 commit comments

Comments
 (0)