mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-05 12:31:49 +02:00
add settings page and api route for generating config.yml
This commit is contained in:
@@ -156,6 +156,8 @@ func (h *Hub) Run() {
|
||||
})
|
||||
// send test notification
|
||||
e.Router.GET("/api/beszel/send-test-notification", h.am.SendTestNotification)
|
||||
// API endpoint to get config.yml content
|
||||
e.Router.GET("/api/beszel/config-yaml", h.getYamlConfig)
|
||||
return nil
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user