diff --git a/images/1699217263625-15198.jpg b/images/1699217263625-15198.jpg new file mode 100644 index 0000000..e14cf8a Binary files /dev/null and b/images/1699217263625-15198.jpg differ diff --git a/images/1699217651279-logoPermantEpaule.JPG b/images/1699217651279-logoPermantEpaule.JPG new file mode 100644 index 0000000..e7b2fc7 Binary files /dev/null and b/images/1699217651279-logoPermantEpaule.JPG differ diff --git a/images/1699220771581-logoPermantEpaule.JPG b/images/1699220771581-logoPermantEpaule.JPG new file mode 100644 index 0000000..e7b2fc7 Binary files /dev/null and b/images/1699220771581-logoPermantEpaule.JPG differ diff --git a/public/css/base.css b/public/css/base.css index a886fb5..88cc830 100644 --- a/public/css/base.css +++ b/public/css/base.css @@ -361,4 +361,4 @@ strong { transform: scale(0.75); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } -} \ No newline at end of file +} diff --git a/routes/posts.js b/routes/posts.js index 79cc622..836a078 100644 --- a/routes/posts.js +++ b/routes/posts.js @@ -83,8 +83,8 @@ router.post('/submitResolution/:postId', upload.single('image'), async function prenom: prenom, imagePath: path } - - const result = await db.getDb().collection('res').insertOne(resolution); + console.log("here5") + await db.getDb().collection('res').insertOne(resolution); return res.redirect('/hotLine') }) diff --git a/views/hotLine.ejs b/views/hotLine.ejs index cf851d0..41a69d6 100644 --- a/views/hotLine.ejs +++ b/views/hotLine.ejs @@ -10,7 +10,7 @@