some stuff from mac
This commit is contained in:
@@ -14,7 +14,8 @@ type Config struct {
|
||||
func GetCfg() Config {
|
||||
return Config{
|
||||
DB: struct{ DSN string }{
|
||||
DSN: os.Getenv("DB_DSN"),
|
||||
// DSN: os.Getenv("DB_DSN"),
|
||||
DSN: "postgresql://dmchumak:@localhost:5432/dmchumak?sslmode=disable",
|
||||
},
|
||||
JWT: struct{ Secret string }{
|
||||
Secret: os.Getenv("JWT_SECRET"),
|
||||
|
||||
Reference in New Issue
Block a user