modified: cmd/main.go
modified: internal/config/config.go add some logs end env variables
This commit is contained in:
@@ -24,7 +24,7 @@ func Load() *Config {
|
||||
DBPort: getEnv("DB_PORT", "5432"),
|
||||
DBUser: getEnv("DB_USER", "postgres"),
|
||||
DBPassword: getEnv("DB_PASSWORD", "postgres"),
|
||||
DBName: getEnv("DB_NAME", "mydb"),
|
||||
DBName: getEnv("DB_NAME", "db_yal"),
|
||||
JWTSecret: getEnv("JWT_SECRET", "secret"),
|
||||
ServerPort: getEnv("SERVER_PORT", "8080"),
|
||||
UploadPath: getEnv("UPLOAD_PATH", "./storage/uploads"),
|
||||
|
||||
Reference in New Issue
Block a user