Frontend can now filter with timespan
This commit is contained in:
@@ -92,6 +92,7 @@ async function run() {
|
||||
/**
|
||||
* Database connection
|
||||
*/
|
||||
mongoose.set('debug', true);
|
||||
const connection = await mongoose.connect(MONGO_URI, { useNewUrlParser: true, useUnifiedTopology: true }).catch((err) => {
|
||||
logger.crit("Database connection could not be made: ", err);
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user