use 1 variable for db connectionString

pull/55/head
unknown 2019-05-06 14:20:27 -04:00
parent a5c1bf1319
commit 4066d81390
2 changed files with 2 additions and 3 deletions

View File

@ -58,7 +58,7 @@ module.exports = {
// ```
// --------------------------------------------------------------------------
adapter: 'sails-postgresql',
url: process.env.SAILS_DATASTORE_URL
url: process.env.DATABASE_CONNECTION
/****************************************************************************
* *
@ -318,7 +318,7 @@ module.exports = {
* this, just try deploying without setting it and see if it works.) *
* *
***************************************************************************/
port: 8081,
port: 80,
/**************************************************************************
* *

View File

@ -10,7 +10,6 @@ module.exports = {
},
env_production: {
NODE_ENV: 'production',
SAILS_DATASTORE_URL: process.env.DATABASE_CONNECTION,
DATABASE_CONNECTION: process.env.DATABASE_CONNECTION,
PASSPORT_GITHUB_ID: process.env.PASSPORT_GITHUB_ID,
PASSPORT_GITHUB_SECRET: process.env.PASSPORT_GITHUB_SECRET,