summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index 32d22b1..570d8ed 100644
--- a/server.go
+++ b/server.go
@@ -25,7 +25,7 @@ func NewServer(addr string) Server {
r.PathPrefix("/static/").
Handler(http.StripPrefix("/static/", http.FileServer(http.FS(static))))
- r.HandleFunc("/version", view.VersionRead(gitDescribe)).Methods(`GET`)
+ r.HandleFunc("/version", view.VersionRead(version)).Methods(`GET`)
r.HandleFunc("/recipes", view.RecipesRead).Methods(`GET`)