mirror of http://gitlab.batiao8.com/yic/film.git
prod
This commit is contained in:
parent
9ba0f49a31
commit
9272b11167
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue