fix: change cookie to env variable
This commit is contained in:
parent
6a257c2152
commit
29c51a13ed
|
@ -12,7 +12,7 @@ const tableWhiteList = [...createFullName("latest", tableNamesWhitelist), ...cre
|
|||
|
||||
|
||||
/* Postgres database connection code */
|
||||
const databaseURL = getSecret("digitalocean-postgres")
|
||||
const databaseURL = process.env.DIGITALOCEAN_POSTGRES || getSecret("digitalocean-postgres")
|
||||
// process.env.DATABASE_URL || getSecret("heroku-postgres")
|
||||
const readWritePool = new Pool({
|
||||
connectionString: databaseURL,
|
||||
|
|
Loading…
Reference in New Issue
Block a user