modified: cmd/main.go

modified:   internal/config/config.go
add some logs end env variables
This commit is contained in:
2026-03-03 13:51:42 +05:00
parent f33149dea2
commit a07637e9da
2 changed files with 9 additions and 1 deletions
@@ -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"),