Merge pull request 'Update proxy' (#137) from fix-permissions into main
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:
romanskijdev 2026-09-23 15:25:31 +03:00
commit 7b4afcfb6c
1 changed files with 1 additions and 3 deletions

View File

@ -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
}