mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 03:12:13 +08:00
Datasource proxy, switch to lookup by id
This commit is contained in:
@ -33,7 +33,7 @@ func Register(m *macaron.Macaron) {
|
||||
m.Delete("/api/admin/datasources/:id", auth, DeleteDataSource)
|
||||
|
||||
// data source proxy
|
||||
m.Any("/api/datasources/proxy/:name/*", auth, ProxyDataSourceRequest)
|
||||
m.Any("/api/datasources/proxy/:id/*", auth, ProxyDataSourceRequest)
|
||||
|
||||
// user register
|
||||
m.Get("/register/*_", Index)
|
||||
|
Reference in New Issue
Block a user