Add themed UI, favicon, plan deletion, regrow cycles, and crop prep/post tasks
This commit is contained in:
@@ -59,8 +59,11 @@ func main() {
|
||||
mux.HandleFunc("/crops/create", app.handleCreateCrop)
|
||||
mux.HandleFunc("/crops/update", app.handleUpdateCrop)
|
||||
mux.HandleFunc("/crops/delete", app.handleDeleteCrop)
|
||||
mux.HandleFunc("/crop-steps/create", app.handleCreateCropStep)
|
||||
mux.HandleFunc("/crop-steps/delete", app.handleDeleteCropStep)
|
||||
|
||||
mux.HandleFunc("/plans/create", app.handleCreatePlan)
|
||||
mux.HandleFunc("/plans/delete", app.handleDeletePlan)
|
||||
mux.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))
|
||||
|
||||
srv := &http.Server{
|
||||
|
||||
Reference in New Issue
Block a user