Some hard coding at least for now
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import {MongoClient} from "mongodb";
|
||||
|
||||
if (!process.env.MONGODB_URI) {
|
||||
throw new Error('Invalid/Missing environment variable: "MONGODB_URI"');
|
||||
}
|
||||
|
||||
const uri = process.env.MONGODB_URI || "";
|
||||
const options = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user