Skip to content

Commit 5fc951e

Browse files
authored
Merge pull request #2 from j2320/work2
MongoDBの変更
2 parents 5e989e6 + ca538a8 commit 5fc951e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/www

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ app.set("port", port);
2020
*/
2121
const mongoose = require("mongoose");
2222
const dev_db_url =
23-
"mongodb+srv://cooluser:coolpassword@cluster0.cojoign.mongodb.net/local_library?retryWrites=true&w=majority&appName=Cluster0";
23+
"mongodb://localhost:27017/local_library";
2424
const mongoDB = process.env.MONGODB_URI || dev_db_url;
2525

2626
try {

0 commit comments

Comments
 (0)