diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 | 
1 files changed, 2 insertions, 0 deletions
@@ -59,6 +59,8 @@ func startServer(addr string) *http.Server {  	r.PathPrefix("/static/").  		Handler(http.StripPrefix("/static/", http.FileServer(http.FS(static)))) +	r.HandleFunc("/version", view.VersionRead(gitDescribe)).Methods(`GET`) +  	r.HandleFunc("/recipes", view.RecipesRead).Methods(`GET`)  	r.HandleFunc("/recipe", controller.RecipeCreate).Methods(`POST`)  | 
