fix: update default environment mode to staging and add local configuration file

This commit is contained in:
Ardeman 2025-04-23 18:18:44 +08:00
parent 4bf318a9c2
commit e29bd7986f
2 changed files with 5 additions and 4 deletions

View File

@ -12,14 +12,15 @@ import (
const (
YAML_PATH = "env/%s"
ENV_MODE = "ENV_MODE"
DEFAULT_ENV_MODE = "development"
DEFAULT_ENV_MODE = "staging"
)
var (
validEnvMode = map[string]struct{}{
"local": {},
"development": {},
"production": {},
"local": {},
"staging": {},
"production": {},
"debug": {},
}
)