From 45753bf64f3a229ce28a566324aac8e82df6f0cd Mon Sep 17 00:00:00 2001 From: tanishirai Date: Thu, 24 Oct 2024 00:11:19 +0530 Subject: [PATCH] Updated twitter icon in sign in and sign up pages --- config/db.js | 2 -- views/login.ejs | 2 +- views/signup.ejs | 9 ++++----- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/config/db.js b/config/db.js index 3ef185c4..880d1db9 100644 --- a/config/db.js +++ b/config/db.js @@ -6,8 +6,6 @@ const connectDb = async () => { const uri = process.env.MONGODB_URI; try { const connect = await mongoose.connect(uri, { - useNewUrlParser: true, - useUnifiedTopology: true, }); console.log(`Connected to Db: ${connect.connection.host}`); } catch (error) { diff --git a/views/login.ejs b/views/login.ejs index 6e912a0f..deb11766 100644 --- a/views/login.ejs +++ b/views/login.ejs @@ -197,7 +197,7 @@ - + twitterx--v2 diff --git a/views/signup.ejs b/views/signup.ejs index 9280f910..3f722f01 100644 --- a/views/signup.ejs +++ b/views/signup.ejs @@ -157,11 +157,10 @@ - - + + + +