api/config/index.js

12 lines
323 B
JavaScript
Raw Normal View History

2020-03-02 20:50:33 +01:00
module.exports = {
port: process.env.PORT || 3000,
trustProxy: process.env.TRUST_PROXY || "loopback",
mongodbUrl:
process.env.DATABASE_URL || "mongodb://localhost:27017/prix-carburants",
mongodbDebug: process.env.DEBUG || true,
mondeDbOptions: {
useUnifiedTopology: true,
useNewUrlParser: true
}
};