mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 06:32:28 +08:00
Backend can now generate config.js, the very basic stuff, more work needed
This commit is contained in:
@ -43,6 +43,9 @@ func Register(m *macaron.Macaron) {
|
||||
m.Post("/api/dashboard/", auth, PostDashboard)
|
||||
m.Delete("/api/dashboard/:slug", auth, DeleteDashboard)
|
||||
|
||||
// frontend config
|
||||
m.Get("/frontend/config", auth, GetConfigJS)
|
||||
|
||||
// rendering
|
||||
m.Get("/render/*", auth, RenderToPng)
|
||||
}
|
||||
|
Reference in New Issue
Block a user