File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,11 +88,11 @@ module.exports = {
8888The <i >.env</i > file has <i >separate variables</i > for the database addresses of the development and test databases:
8989
9090``` bash
91- MONGODB_URI=mongodb+srv://fullstack:thepasswordishere@cluster0.o1opl .mongodb.net/noteApp? retryWrites=true& w=majority
91+ MONGODB_URI=mongodb+srv://fullstack:thepasswordishere@cluster0.a5qfl .mongodb.net/noteApp? retryWrites=true& w=majority& appName=Cluster0
9292PORT=3001
9393
9494// highlight-start
95- TEST_MONGODB_URI=mongodb+srv://fullstack:thepasswordishere@cluster0.o1opl .mongodb.net/testNoteApp? retryWrites=true& w=majority
95+ TEST_MONGODB_URI=mongodb+srv://fullstack:thepasswordishere@cluster0.a5qfl .mongodb.net/testNoteApp? retryWrites=true& w=majority& appName=Cluster0
9696// highlight-end
9797```
9898
Original file line number Diff line number Diff line change @@ -85,11 +85,11 @@ module.exports = {
8585Tiedostossa <i >.env</i > on nyt määritelty <i >erikseen</i > sekä sovelluskehitysympäristön että testausympäristön tietokannan osoite:
8686
8787``` bash
88- MONGODB_URI=mongodb+srv://fullstack:thepasswordishere@cluster0.o1opl .mongodb.net/noteApp? retryWrites=true& w=majority
88+ MONGODB_URI=mongodb+srv://fullstack:thepasswordishere@cluster0.a5qfl .mongodb.net/noteApp? retryWrites=true& w=majority& appName=Cluster0
8989PORT=3001
9090
9191// highlight-start
92- TEST_MONGODB_URI=mongodb+srv://fullstack:thepasswordishere@cluster0.o1opl .mongodb.net/testNoteApp? retryWrites=true& w=majority
92+ TEST_MONGODB_URI=mongodb+srv://fullstack:thepasswordishere@cluster0.a5qfl .mongodb.net/testNoteApp? retryWrites=true& w=majority& appName=Cluster0
9393// highlight-end
9494```
9595
You can’t perform that action at this time.
0 commit comments