diff options
Diffstat (limited to 'server/config/env.js')
-rw-r--r-- | server/config/env.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/config/env.js b/server/config/env.js index befa8ba..441d6b6 100644 --- a/server/config/env.js +++ b/server/config/env.js @@ -2,5 +2,8 @@ require('dotenv').config(); module.exports = { port: process.env.PORT || 3000, mongoUrl: process.env.DB_CONN || "mongodb://localhost/mevn_ecommerce_db", - masterKey: process.env.APP_SECRET || "you-should-use-something-different" + masterKey: process.env.APP_SECRET || "you-should-use-something-different", + paypalEnvironment: process.env.PAYPAL_ENVIRONMENT || "sandbox", + paypalClientId: process.env.PAYPAL_CLIENT_ID || 'PAYPAL-SANDBOX-CLIENT-ID', + paypalClientSecret: process.env.PAYPAL_CLIENT_SECRET || 'PAYPAL-SANDBOX-CLIENT-SECRET' }; |