Can create devices nicely

This commit is contained in:
2025-03-24 09:43:41 +01:00
parent 6405e7d692
commit c459148d33
9 changed files with 233 additions and 54 deletions

View File

@@ -53,7 +53,7 @@ func main() {
r.GET("/", app.getIndex)
r.GET("/device", app.getDevice)
r.GET("/create", app.getCreateDevice)
//r.POST("/create", app.postCreateDevice)
r.POST("/create", app.postCreateDevice)
err = r.Run()
if err != nil {
log.Fatalf("error serving website: %v", err)