feat: add internal cluster admin endpoints
This commit is contained in:
@@ -23,6 +23,7 @@ type Config struct {
|
||||
RedisAddr string
|
||||
AppSiteURL string
|
||||
MasterKeyBase64 string
|
||||
OperatorToken string
|
||||
}
|
||||
|
||||
func Load() (Config, error) {
|
||||
@@ -54,6 +55,7 @@ func Load() (Config, error) {
|
||||
RedisAddr: getenv("REDIS_ADDR", "localhost:6379"),
|
||||
AppSiteURL: getenv("APP_SITE_URL", "http://localhost:5173"),
|
||||
MasterKeyBase64: os.Getenv("MASTER_KEY_BASE64"),
|
||||
OperatorToken: os.Getenv("OPERATOR_TOKEN"),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user