mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
rename LOCAL_DSN to DEV_DSN
This commit is contained in:
parent
ee15ec9c1b
commit
7f6496e434
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ func main() {
|
|||
|
||||
switch envFlag {
|
||||
case "dev":
|
||||
cfg.db.dsn = os.Getenv("LOCAL_DSN")
|
||||
cfg.db.dsn = os.Getenv("DEV_DSN")
|
||||
case "prod":
|
||||
cfg.db.dsn = os.Getenv("REMOTE_DSN")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue