Skip to content

Commit

Permalink
update .env
Browse files Browse the repository at this point in the history
  • Loading branch information
arihant1805 committed Apr 23, 2024
1 parent 4a15cbd commit 71fe7e1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
PORT=5000
MONGO_URL="mongodb+srv://22cs3016:Anshjain-1234@cluster0.ubt7gcm.mongodb.net/LetsAddOn"
MONGO_URL="mongodb+srv://22cs3016:LETSADDON@cluster0.ubt7gcm.mongodb.net/LetsAddOn"
1 change: 0 additions & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const express=require("express");
const cors=require("cors");
const mongooose = require("mongoose");
const userRoutes = require("./routes/userRoutes");

const app= express();
require("dotenv").config();

Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start":"nodemon index.js"
"start": "nodemon index.js"
},
"author": "",
"license": "ISC",
Expand Down

1 comment on commit 71fe7e1

@arihant1805
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commited

Please sign in to comment.