added version in log print
This commit is contained in:
parent
7614390b74
commit
86f1aebb82
1
main.go
1
main.go
|
|
@ -854,6 +854,7 @@ func main() {
|
||||||
http.HandleFunc("/api/history", apiHistory)
|
http.HandleFunc("/api/history", apiHistory)
|
||||||
|
|
||||||
log.Println("S7-1200 Force Monitor started")
|
log.Println("S7-1200 Force Monitor started")
|
||||||
|
log.Println("VERSION 0.3.0")
|
||||||
log.Printf("Open: http://localhost%s", cfg.Server.ListenAddr)
|
log.Printf("Open: http://localhost%s", cfg.Server.ListenAddr)
|
||||||
log.Fatal(http.ListenAndServe(cfg.Server.ListenAddr, nil))
|
log.Fatal(http.ListenAndServe(cfg.Server.ListenAddr, nil))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue