Add ability to remove devices

This commit is contained in:
2025-03-24 15:35:26 +01:00
parent b799ac5aa6
commit 982943fac3
5 changed files with 69 additions and 9 deletions

View File

@@ -67,6 +67,8 @@ func main() {
r.GET("/create", app.getCreateDevice)
r.POST("/create", app.postCreateDevice)
r.GET("/browse", app.getBrowse)
r.GET("/delete", app.getDelete)
r.POST("/delete", app.postDelete)
err = r.Run()
if err != nil {
log.Fatalf("error serving website: %v", err)