Skip to content

Commit

Permalink
Update production.js to use Heroku config variables for database URL
Browse files Browse the repository at this point in the history
  • Loading branch information
eashaw committed Dec 20, 2023
1 parent 210782c commit cb762e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/env/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ module.exports = {
* *
***************************************************************************/
default: {
adapter: 'sails-mysql',
// url: 'mysql://user:password@host:port/database',
adapter: 'sails-postgresql',
url: process.env.DATABASE_URL,
//--------------------------------------------------------------------------
// /\ To avoid checking it in to version control, you might opt to set
// || sensitive credentials like `url` using an environment variable.
Expand Down

0 comments on commit cb762e2

Please sign in to comment.