From f1308a436040f3a72e058e10ec2693cfb599da30 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 31 Mar 2023 19:47:55 +0200 Subject: Remove image functionality Recipe images are currently complicated to implement and have little use. Probably they will not be covered in the next release. --- mux.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'mux.go') diff --git a/mux.go b/mux.go index 4c84570..8c23855 100644 --- a/mux.go +++ b/mux.go @@ -35,15 +35,6 @@ func recipeEditMux(w http.ResponseWriter, r *http.Request) { } } -func recipeImageMux(w http.ResponseWriter, r *http.Request) { - switch r.Method { - case "GET": - recipeImageGet(w, r) - default: - http.Error(w, "Bad Request", 400) - } -} - func addRecipesMux(w http.ResponseWriter, r *http.Request) { switch r.Method { case "GET": -- cgit v1.2.3-70-g09d2