Skip to content

Commit bf048bb

Browse files
authored
Merge pull request #3366 from ismailvohra/patch-1
Fix env variable in fly.io
2 parents b717667 + 6e3f1d1 commit bf048bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/3/en/part3c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ However, a [better option](https://community.fly.io/t/clarification-on-environme
567567
and set the env value from the command line with the command:
568568

569569
```bash
570-
fly secrets set MONGODB_URI='mongodb+srv://fullstack:<password>@cluster0.o1opl.mongodb.net/noteApp?retryWrites=true&w=majority'
570+
fly secrets set MONGODB_URI="mongodb+srv://fullstack:<password>@cluster0.o1opl.mongodb.net/noteApp?retryWrites=true&w=majority"
571571
```
572572

573573
Since the PORT also is defined in our .env it is actually essential to ignore the file in Fly.io since otherwise the app starts in the wrong port.

0 commit comments

Comments
 (0)