mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Improve API response for plugin assets (#36352)
* improve API response for plugin assets 403 * remove unnecessary newline
This commit is contained in:
@@ -133,7 +133,7 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
r.Get("/api/login/ping", quota("session"), routing.Wrap(hs.LoginAPIPing))
|
||||
|
||||
// expose plugin file system assets
|
||||
r.Get("/public/plugins/:pluginId/*", hs.GetPluginAssets)
|
||||
r.Get("/public/plugins/:pluginId/*", routing.Wrap(hs.GetPluginAssets))
|
||||
|
||||
// authed api
|
||||
r.Group("/api", func(apiRoute routing.RouteRegister) {
|
||||
|
||||
Reference in New Issue
Block a user