further progress on settings / alerts

This commit is contained in:
Henry Dollman
2024-09-10 19:03:08 -04:00
parent 3362a3d1cf
commit 9bc7773607
4 changed files with 145 additions and 106 deletions

View File

@@ -140,6 +140,8 @@ func (h *Hub) Run() {
}
return c.JSON(http.StatusOK, map[string]bool{"firstRun": adminNum == 0})
})
// send test notification
e.Router.GET("/api/beszel/send-test-notification", am.SendTestNotification)
return nil
})