diff --git a/README.md b/README.md index ecc1702..b477824 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ $ cd ../client # Install dependencies $ npm install -# Use the command below for Android devices +# Use the command below for browser or Android devices $ npm run dev # To see the incomplete storybook components diff --git a/server/config.js b/server/config.js index b433697..672b5d5 100644 --- a/server/config.js +++ b/server/config.js @@ -1,8 +1,8 @@ module.exports = { port: process.env.PORT || 8080, db: { - prod: process.env.DATABASE_URL || 'mongodb://localhost/stackoverflow-clone', - test: 'mongodb://localhost/stackoverflow-test', + prod: process.env.DATABASE_URL || 'mongodb://127.0.0.1/stackoverflow-clone', + test: 'mongodb://127.0.0.1/stackoverflow-test', options: { useNewUrlParser: true, useUnifiedTopology: true,