Skip to content

Commit

Permalink
use thing
Browse files Browse the repository at this point in the history
* thing
  • Loading branch information
Elkrival committed Jun 7, 2024
1 parent 8d42142 commit 1a8f866
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ app.use(bodyParser.json({ limit: '500mb', extended: true }))
app.use(bodyParser.urlencoded({ limit: '50mb', extended: true }))

/* database setup */
const mongoURI = process.env.TEST2
const mongoURI =
'mongodb://elkrival:12345678@linuxv2mongo5.cluster-cleg68cauh7c.us-east-2.docdb.amazonaws.com:27017/?replicaSet=rs0&readPreference=secondaryPreferred&retryWrites=false'
//process.env.MONGODB_URI //process.env.TEST2
// process.env.MONGODB_URI ||
// `mongodb://${process.env.MONGODB_USER}:${process.env.MONGODB_PASSWORD}@${process.env.MONGODB_HOST}:27017/?tls=true&tlsCAfile=global-bundle.pem&retryWrites=false`

Expand Down

0 comments on commit 1a8f866

Please sign in to comment.