diff options
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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() { |