mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-12 11:43:40 +00:00
fix: redirect / to login UI (#4669)
This commit is contained in:
parent
f8e0cde0e9
commit
4eb8ad8777
@ -14,6 +14,7 @@ import (
|
||||
internal_authz "github.com/zitadel/zitadel/internal/api/authz"
|
||||
"github.com/zitadel/zitadel/internal/api/grpc/server"
|
||||
http_util "github.com/zitadel/zitadel/internal/api/http"
|
||||
"github.com/zitadel/zitadel/internal/api/ui/login"
|
||||
"github.com/zitadel/zitadel/internal/errors"
|
||||
"github.com/zitadel/zitadel/internal/query"
|
||||
"github.com/zitadel/zitadel/internal/telemetry/metrics"
|
||||
@ -48,6 +49,7 @@ func New(port uint16, router *mux.Router, queries *query.Queries, verifier *inte
|
||||
api.routeGRPC()
|
||||
|
||||
api.RegisterHandler("/debug", api.healthHandler())
|
||||
api.router.Handle("/", http.RedirectHandler(login.HandlerPrefix, http.StatusFound))
|
||||
|
||||
return api
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user