This commit is contained in:
jiangyong27 2024-03-23 20:08:35 +08:00
parent 9ba0f49a31
commit 9272b11167
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func GetConfig() *Config {
func LoadServerConfig() { func LoadServerConfig() {
configEnv = os.Getenv("CONFIG_ENV") configEnv = os.Getenv("CONFIG_ENV")
if configEnv == "" { if configEnv == "" {
configEnv = "dev" configEnv = "prod"
} }
var envConfig Config var envConfig Config