From dd62d29ac9100ec1e1bc7a26cf95bbb3bec3d68d Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Fri, 18 Aug 2023 20:30:21 -0600 Subject: [PATCH] Remove the CNAM temporarily for privacy until I can come up with a better way of handling them --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 2aa68ff..33e52e6 100644 --- a/index.js +++ b/index.js @@ -65,7 +65,7 @@ app.post('/sms', async (req, res) => { hook.send({ content: out['text'], files: out['images'], - username: cnam, + username: "MMS", avatarURL: encodeURI(`https://tiley.herokuapp.com/avatar/${cnam.replaceAll(" ", "")}/${cnam.replaceAll(" ", "")}.png?s=500`) }) } else { // It's an SMS @@ -73,7 +73,7 @@ app.post('/sms', async (req, res) => { data.Message = decodeURIComponent(data.Message); hook.send({ content: data.Message, - username: cnam, + username: "SMS", avatarURL: encodeURI(`https://tiley.herokuapp.com/avatar/${cnam.replaceAll(" ", "")}/${cnam.replaceAll(" ", "")}.png?s=500`) }) }