Skip to content

Commit

Permalink
Update fluxpipe-server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Apr 7, 2022
1 parent 7674245 commit a387ba3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fluxpipe-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func main() {
} else {

e := echo.New()
e.HideBanner = true
e.Use(middleware.Logger())
e.Use(middleware.Recover())

Expand All @@ -166,7 +167,7 @@ func main() {
e.POST("/api/v2/query", postQuery)
e.POST("/query", postQuery)

fmt.Println("Starting API...")
fmt.Println("|> FluxPIPE |>")
e.Logger.Fatal(e.Start(":"+*port))
}
}
Expand Down

0 comments on commit a387ba3

Please sign in to comment.