Update proxy #137
|
|
@ -34,9 +34,7 @@ func RegisterAdminRoutes(
|
|||
handlers.RegisterRoute(r, http.MethodPut, adminURL, s.UpdateAdminHandler)
|
||||
})
|
||||
|
||||
r.Route("/api/proxy/forward", func(r chi.Router) {
|
||||
handlers.RegisterRoute(r, http.MethodPost, adminURL, s.ProxyForwardHandler)
|
||||
})
|
||||
handlers.RegisterRoute(r, http.MethodPost, "/api/proxy-forward", s.ProxyForwardHandler)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue