Plugins: Handle app plugin proxy routes per request (#51835)
Fixes #47530
This commit is contained in:
@@ -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