URL -> URI
This commit is contained in:
parent
1b7e5470e3
commit
9283d45874
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ app.set('views', path.join(__dirname, './app/Views'))
|
||||||
|
|
||||||
/* Begin connection to MongoDB via Mongoose */
|
/* Begin connection to MongoDB via Mongoose */
|
||||||
|
|
||||||
mongoose.connect(`mongodb://${process.env.MONGO_URL}/URLShortener`, {
|
mongoose.connect(`mongodb://${process.env.MONGO_URI}/URLShortener`, {
|
||||||
useNewUrlParser: true,
|
useNewUrlParser: true,
|
||||||
useUnifiedTopology: true
|
useUnifiedTopology: true
|
||||||
}).then((db) => {
|
}).then((db) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue