Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/auth/commit/8e591239d08a40fb437c2fc9f641eeaa56c5b91b?style=unified&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.
slaventius 2 years ago
parent 1bee231891
commit 8e591239d0
  1. 4
      internal/transport/rest/server.go

@ -62,9 +62,7 @@ func registration(s *AuthServer) http.HandlerFunc {
code, err := s.db.Registration(uid, email)
if err != nil {
status := status.Convert(err)
message := fmt.Sprintf("%s for %q", status.Message(), uid)
w.Write([]byte(message))
w.Write([]byte(status.Message()))
return
}

Loading…
Cancel
Save