From b06afd581a91cea37128b619674470612b011ad5 Mon Sep 17 00:00:00 2001 From: Arifshariar7 Date: Sat, 2 Oct 2021 17:48:24 +0600 Subject: [PATCH] connected to cloud mongo --- utils/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/db.js b/utils/db.js index 8d8f768..69c92b2 100644 --- a/utils/db.js +++ b/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 () => {