diff --git a/server/auth/internal/svc/servicecontext.go b/server/auth/internal/svc/servicecontext.go index be6eaa42..872d1994 100644 --- a/server/auth/internal/svc/servicecontext.go +++ b/server/auth/internal/svc/servicecontext.go @@ -29,7 +29,7 @@ type ServiceContext struct { func NewServiceContext(c config.Config) *ServiceContext { conn := initalize.InitMysql(c.SourceMysql) // StateServer := shared.StartNode(c.ReplicaId, autoconfig.AutoGetAllServerConfig(), conn) - registerAddress := fmt.Sprintf("http://%s/api/auth/oauth2/register", c.MainAddress) + registerAddress := fmt.Sprintf("%s/api/auth/oauth2/register", c.MainAddress) return &ServiceContext{ Config: c, MysqlConn: conn,