Skip to content

Commit b4de2db

Browse files
committed
added example user database URI
1 parent 8af5c57 commit b4de2db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electron/models/UserModel.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Insert the MongoDB URI for your private User database in place of the example URI provided below.
2-
const MONGO_URI = 'mongodb+srv://haoyuliu0914:[email protected]/?retryWrites=true&w=majority';
2+
const MONGO_URI = 'mongodb://username:password@hostname:port/database';
33

44
const mongoose = require('mongoose');
55

0 commit comments

Comments
 (0)