Skip to content

Commit

Permalink
fix: remove private var env
Browse files Browse the repository at this point in the history
  • Loading branch information
DecampsRenan committed Jun 25, 2021
1 parent b9ba64c commit 474897d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .lepatronrc-example
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@
//////

"database": "mongodb:https://localhost/my_database"
"proxyUrl": "" // Needed if you want to enable FTP export (mainly used for static IP restrictions)
}
7 changes: 7 additions & 0 deletions packages/documentation/heroku-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ They provide an easy way to install all necessary service but can be omitted if

[mongolab addon's detail](https://devcenter.heroku.com/articles/mongolab)

### QuotaGuard static IP's

If you need static IP's, you can add this addon on heroku.
A `QUOTAGUARDSTATIC_URL` should be automatically added on your heroku env.

[QuotaGuard static IP's addon details](https://elements.heroku.com/addons/quotaguardstatic)

### sendgrid

[sendgrid addon's detail](https://devcenter.heroku.com/articles/sendgrid)
Expand Down
4 changes: 1 addition & 3 deletions packages/server/node.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ const config = rc('lepatron', {
username: 'admin',
password: 'admin',
},
proxyUrl:
process.env.QUOTAGUARDSTATIC_URL ||
'http:https://zwaedt4fu4bmis:[email protected]:9293',
proxyUrl: process.env.QUOTAGUARDSTATIC_URL,
});

config.NODE_ENV = config.NODE_ENV || process.env.NODE_ENV || 'development';
Expand Down

0 comments on commit 474897d

Please sign in to comment.