-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
016ac6f
commit 0cd58bb
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ if(process.env.NODE_ENV === 'dev'){ | |
urlDB = 'mongodb://localhost:27017/cafe' | ||
|
||
} else { | ||
urlDB = 'mongodb+srv://martintodojunto:[email protected]/cafe' | ||
urlDB = process.env.MONGO_URI // creamos la variable en consola con heroku para protegerla en GitHub => heroku config:set MONGO_URI="escribirurl" | ||
} | ||
|
||
|
||
|