database.js → database/database.js
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
import { MongoClient } from 'mongodb';
|
2 |
-
import * as config from '
|
3 |
|
4 |
const client = new MongoClient(config.dbUri);
|
5 |
|
|
|
1 |
import { MongoClient } from 'mongodb';
|
2 |
+
import * as config from '../config.js';
|
3 |
|
4 |
const client = new MongoClient(config.dbUri);
|
5 |
|