summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/server.go b/server.go
index d70373b..f565636 100644
--- a/server.go
+++ b/server.go
@@ -8,13 +8,13 @@ import (
func setupRoutes() {
- http.HandleFunc("/", indexMux())
- http.HandleFunc("/recipe", recipeMux())
- http.HandleFunc("/recipe/edit", recipeEditMux())
- http.HandleFunc("/recipe/image", recipeImageMux())
- http.HandleFunc("/add_recipes", addRecipesMux())
- http.HandleFunc("/static/style.css", staticStyleMux())
- http.HandleFunc("/favicon.ico", faviconMux())
+ http.HandleFunc("/", indexMux)
+ http.HandleFunc("/recipe", recipeMux)
+ http.HandleFunc("/recipe/edit", recipeEditMux)
+ http.HandleFunc("/recipe/image", recipeImageMux)
+ http.HandleFunc("/add_recipes", addRecipesMux)
+ http.HandleFunc("/static/style.css", staticStyleMux)
+ http.HandleFunc("/favicon.ico", faviconMux)
}
func runServer() {