Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
connected to cloud mongo
  • Loading branch information
Arifshariar7 committed Oct 2, 2021
1 parent 9de6ba4 commit b06afd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/db.js
@@ -1,7 +1,7 @@
import mongoose from "mongoose";

let isConnected = false;
const uri = "mongodb+srv://Arif:6d4xHrDVMb7BrteV@cluster0.3tw6k.mongodb.net/Arif?retryWrites=true&w=majority";
const uri = "mongodb+srv://Arif:UDXCW3AvEo5NEJVO@cluster0.3tw6k.mongodb.net/paste-buckets?retryWrites=true&w=majority";
const localuri="mongodb://localhost/paste-buckets"

export const connect = async () => {
Expand Down

2 comments on commit b06afd5

@vercel
Copy link

@vercel vercel bot commented on b06afd5 Oct 2, 2021

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on b06afd5 Oct 2, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.