From c83324696e7868fd9ee78edd4c6c2e432b8a7edc Mon Sep 17 00:00:00 2001 From: aurik3 <37228512+aurik3@users.noreply.github.com> Date: Wed, 5 Oct 2022 12:31:41 -0500 Subject: [PATCH] asd asd --- components/chatting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/chatting.js b/components/chatting.js index ce4bfd7..bf044ac 100644 --- a/components/chatting.js +++ b/components/chatting.js @@ -29,7 +29,7 @@ router.post('/sendmessage', async (req,res) => { } }); -router.post('/sendimage/:phone', async (req,res) => { +router.post('/sendimage/', async (req,res) => { var base64regex = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/; let phone = req.body.phone;