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,10 +1,5 @@
const path = require('path');
const mongoose = require('mongoose');
mongoose.connect('mongodb://localhost:27017/vinlottis', {
useNewUrlParser: true
})
const Highscore = require(path.join(__dirname + '/../schemas/Highscore'));
const Wine = require(path.join(__dirname + '/../schemas/Wine'));