Skip to content

Commit 0eb4caf

Browse files
committed
feat:fix
1 parent fc2824b commit 0eb4caf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/lib/mongodb.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import mongoose from 'mongoose';
22

3-
const MONGODB_URI = 'mongodb+srv://hackerdruv:TwE0oLsj8kd0ql78@workflo.skbz2gj.mongodb.net/leetcode?retryWrites=true&w=majority&appName=workflo';
3+
const MONGODB_URI = process.env.NEXT_MONGO_URI;
44
if (!MONGODB_URI) {
55
throw new Error('Please define the MONGODB_URI environment variable inside .env.local');
66
}

0 commit comments

Comments
 (0)