Merge pull request #65 from davetoxa/show_version
Show pgweb version on start
This commit is contained in:
commit
a3dfdf7622
1
main.go
1
main.go
@ -141,6 +141,7 @@ func startServer() {
|
|||||||
router.GET("/history", API_History)
|
router.GET("/history", API_History)
|
||||||
router.GET("/static/:type/:name", API_ServeAsset)
|
router.GET("/static/:type/:name", API_ServeAsset)
|
||||||
|
|
||||||
|
fmt.Println("Pgweb version", VERSION)
|
||||||
fmt.Println("Starting server...")
|
fmt.Println("Starting server...")
|
||||||
go router.Run(fmt.Sprintf("%v:%v", options.HttpHost, options.HttpPort))
|
go router.Run(fmt.Sprintf("%v:%v", options.HttpHost, options.HttpPort))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user