Skip to content

Commit 1f5ae11

Browse files
authored
Merge pull request #3316 from xksteven/patch-1
Add grabbing password to part3c.md
2 parents 2488869 + 53851c5 commit 1f5ae11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/3/en/part3c.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@ Let's get a quick start by copy-pasting the Mongoose definitions to the <i>index
371371
```js
372372
const mongoose = require('mongoose')
373373

374+
const password = process.argv[2]
375+
374376
// DO NOT SAVE YOUR PASSWORD TO GITHUB!!
375377
const url =
376378
`mongodb+srv://fullstack:${password}@cluster0.o1opl.mongodb.net/?retryWrites=true&w=majority`

0 commit comments

Comments
 (0)