Removed unnecessary mongo connection string.

This commit is contained in:
2020-10-11 14:00:42 +02:00
committed by KevinMidboe
parent 4ce8ca1a99
commit 0e74534cde
4 changed files with 0 additions and 18 deletions

View File

@@ -1,8 +1,4 @@
const path = require("path");
const mongoose = require("mongoose");
mongoose.connect("mongodb://localhost:27017/vinlottis", {
useNewUrlParser: true
});
const Purchase = require(path.join(__dirname + "/../schemas/Purchase"));
const Wine = require(path.join(__dirname + "/../schemas/Wine"));