mirror of
https://github.com/grafana/grafana.git
synced 2025-09-28 23:43:54 +08:00
Plugins: Handle app plugin proxy routes per request (#51835)
Fixes #47530
This commit is contained in:

committed by
GitHub

parent
5f80bf5297
commit
e6857bf17d
@ -513,8 +513,6 @@ func (hs *HTTPServer) applyRoutes() {
|
||||
hs.addMiddlewaresAndStaticRoutes()
|
||||
// then add view routes & api routes
|
||||
hs.RouteRegister.Register(hs.web, hs.namedMiddlewares...)
|
||||
// then custom app proxy routes
|
||||
hs.initAppPluginRoutes(hs.web)
|
||||
// lastly not found route
|
||||
hs.web.NotFound(middleware.ReqSignedIn, hs.NotFoundHandler)
|
||||
}
|
||||
|
Reference in New Issue
Block a user