mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
rename SUPABASE_DSN to REMOTE_DSN
This commit is contained in:
parent
874573ac5b
commit
2a54f591c8
|
@ -73,7 +73,7 @@ func main() {
|
||||||
case "dev":
|
case "dev":
|
||||||
cfg.db.dsn = os.Getenv("LOCAL_DSN")
|
cfg.db.dsn = os.Getenv("LOCAL_DSN")
|
||||||
case "prod":
|
case "prod":
|
||||||
cfg.db.dsn = os.Getenv("SUPABASE_DSN")
|
cfg.db.dsn = os.Getenv("REMOTE_DSN")
|
||||||
}
|
}
|
||||||
// Database config variables
|
// Database config variables
|
||||||
cfg.db.maxOpenConns = 25
|
cfg.db.maxOpenConns = 25
|
||||||
|
|
|
@ -6,7 +6,7 @@ TWITCH_CLIENT_ID=mycoolclientid
|
||||||
TWITCH_CLIENT_SECRET=mycoolclientsecret
|
TWITCH_CLIENT_SECRET=mycoolclientsecret
|
||||||
|
|
||||||
LOCAL_DSN=postgres://user:password@localhost/database-name?sslmode=disable
|
LOCAL_DSN=postgres://user:password@localhost/database-name?sslmode=disable
|
||||||
SUPABASE_DSN=postgresql://user:password@databaseurlfrom.supabase.com:5432/postgres
|
REMOTE_DSN=postgresql://user:password@databaseurlfrom.supabase.com:5432/postgres
|
||||||
|
|
||||||
OWM_KEY=mycoolopenweatherkey
|
OWM_KEY=mycoolopenweatherkey
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue