mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
Show pgweb version on start
This commit is contained in:
parent
fac98dc970
commit
2393b81174
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…
Reference in New Issue
Block a user