all repos — honk @ 5e9f44428134a03d1e5d1c55ddc7f9adefa5e7a1

my fork of honk

rework version slightly
Ted Unangst tedu@tedunangst.com
Fri, 08 Nov 2019 21:15:40 -0500
commit

5e9f44428134a03d1e5d1c55ddc7f9adefa5e7a1

parent

ff67fc32e5ac9213e7ff1e7324be06f5642b5e69

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M honk.gohonk.go

@@ -28,7 +28,7 @@ "strings"

"time" ) -var honkVersion = "honk 0.8.1-dev" +var softwareVersion = "develop" func init() { notrand.Seed(time.Now().Unix())

@@ -213,7 +213,7 @@ initdb()

case "upgrade": upgradedb() case "version": - fmt.Println(honkVersion) + fmt.Println(softwareVersion) os.Exit(0) } db := opendatabase()
M web.goweb.go

@@ -1901,7 +1901,7 @@ u := login.GetUserInfo(r)

templinfo := getInfo(r) templinfo["AboutMsg"] = aboutMsg templinfo["LoginMsg"] = loginMsg - templinfo["HonkVersion"] = honkVersion + templinfo["HonkVersion"] = softwareVersion if r.URL.Path == "/about" { templinfo["Sensors"] = getSensors() }