mirror of
https://github.com/paralus/paralus.git
synced 2026-05-06 08:26:53 +00:00
Use kratos public url in prompt
This commit is contained in:
@@ -56,7 +56,7 @@ func SetupAuthContext(auditLogger *zap.Logger) authContext {
|
||||
sqldb := sql.OpenDB(pgdriver.NewConnector(pgdriver.WithDSN(getDSN())))
|
||||
db = bun.NewDB(sqldb, pgdialect.New())
|
||||
|
||||
if v, ok := os.LookupEnv("KRATOS_ADDR"); ok {
|
||||
if v, ok := os.LookupEnv("KRATOS_PUB_ADDR"); ok {
|
||||
kratosAddr = v
|
||||
} else {
|
||||
kratosAddr = "http://localhost:4433"
|
||||
|
||||
Reference in New Issue
Block a user