Skip to content

Commit

Permalink
Maybe fixed URI now?
Browse files Browse the repository at this point in the history
  • Loading branch information
renatodellosso committed May 11, 2024
1 parent c1e2ddb commit 1705623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MongoDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (!process.env.MONGODB_URI) {
console.error('Invalid/Missing environment variable: "MONGODB_URI"');
}

const uri = process.env.MONGODB_URI ?? "";
const uri = process.env.MONGODB_URI ?? "mongodb://";
const options: MongoClientOptions = { maxPoolSize: 3 };

let client;
Expand Down

0 comments on commit 1705623

Please sign in to comment.