summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-01 16:03:49 +0200
committerxengineering <me@xengineering.eu>2023-04-01 18:21:27 +0200
commit88107366bce6b7f7c788171a18c40ad102904ff4 (patch)
tree1477a16e0d4e4b2151c23c0194ed9860fe5a6eb3 /server.go
parenteec9ddfd687a871880628b4a5e9b3c0541b534e2 (diff)
downloadceres-88107366bce6b7f7c788171a18c40ad102904ff4.tar
ceres-88107366bce6b7f7c788171a18c40ad102904ff4.tar.zst
ceres-88107366bce6b7f7c788171a18c40ad102904ff4.zip
Implement recipe deletion
Diffstat (limited to 'server.go')
-rw-r--r--server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.go b/server.go
index e91859c..4a685f2 100644
--- a/server.go
+++ b/server.go
@@ -10,6 +10,7 @@ func setupRoutes() {
http.HandleFunc("/", indexMux)
http.HandleFunc("/recipe", recipeMux)
http.HandleFunc("/recipe/edit", recipeEditMux)
+ http.HandleFunc("/recipe/confirm-deletion", recipeConfirmDeletionMux)
http.HandleFunc("/add_recipes", addRecipesMux)
http.HandleFunc("/static/style.css", staticStyleMux)
http.HandleFunc("/favicon.ico", faviconMux)