cicd: robot automated Change

pull/1386/head
cubxxw 2 years ago committed by github-actions[bot]
parent 7994ba1557
commit 0ff1c30f19

@ -43,8 +43,8 @@ type Config struct {
// LoadConfig loads the configurations from environment variables or default values. // LoadConfig loads the configurations from environment variables or default values.
func LoadConfig() *Config { func LoadConfig() *Config {
return &Config{ return &Config{
APIHost: getEnv("OPENIM_API_HOST", "127.0.0.1"), APIHost: getEnv("OPENIM_API_HOST", "127.0.0.1"),
APIPort: getEnv("API_OPENIM_PORT", "10002"), APIPort: getEnv("API_OPENIM_PORT", "10002"),
// TODO: Set default variable // TODO: Set default variable
MsgGatewayHost: getEnv("OPENIM_MSGGATEWAY_HOST", "default-msggateway-host"), MsgGatewayHost: getEnv("OPENIM_MSGGATEWAY_HOST", "default-msggateway-host"),

Loading…
Cancel
Save