mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 20:13:06 +03:00
Add view instructions during startup
This commit is contained in:
parent
3104754c0d
commit
d55671a0fc
3
main.go
3
main.go
@ -90,6 +90,7 @@ func main() {
|
|||||||
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("Starting server at 0.0.0.0:8080")
|
fmt.Println("Starting server...")
|
||||||
|
fmt.Println("Once started you can view application at http://localhost:8080")
|
||||||
router.Run(":8080")
|
router.Run(":8080")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user