From d53e6a2ec92971c748c14d02fb560fd65c69d8ed Mon Sep 17 00:00:00 2001 From: aurik3 <37228512+aurik3@users.noreply.github.com> Date: Wed, 5 Oct 2022 12:43:37 -0500 Subject: [PATCH] asdasdasd asdadasd --- components/chatting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/chatting.js b/components/chatting.js index bf044ac..ce4bfd7 100644 --- a/components/chatting.js +++ b/components/chatting.js @@ -29,7 +29,7 @@ router.post('/sendmessage', async (req,res) => { } }); -router.post('/sendimage/', async (req,res) => { +router.post('/sendimage/:phone', 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;