use 1 variable for db connectionString
parent
a5c1bf1319
commit
4066d81390
|
@ -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,
|
||||
|
||||
/**************************************************************************
|
||||
* *
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue