added version in log print

This commit is contained in:
Gamer 2026-04-16 19:29:57 +02:00
parent 7614390b74
commit 86f1aebb82

View file

@ -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))
} }