Skip to content

Commit

Permalink
changed .env
Browse files Browse the repository at this point in the history
  • Loading branch information
MeharaSahabandu committed Apr 22, 2024
1 parent 59c2496 commit e298f2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/event-service/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ app.use(bodyParser.json());
app.use(express.json());

//connect database
const URL = process.env.MONGODB_URL;
const URL =
"mongodb+srv://sandali:san345@cluster0.sgrgw3h.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0";

mongoose
.connect(URL, { useNewUrlParser: true, useUnifiedTopology: true })
Expand Down

0 comments on commit e298f2c

Please sign in to comment.