Merge pull request 'Update proxy' (#137) from fix-permissions into main
Deploy / deploy (push) Successful in 18s
Details
Deploy / deploy (push) Successful in 18s
Details
Reviewed-on: https://72.56.235.246.nip.io/gitea/romanskijdev/ruspet_portal_back/pulls/137
This commit is contained in:
commit
7b4afcfb6c
|
|
@ -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