Skip to content

Commit

Permalink
Update message.js
Browse files Browse the repository at this point in the history
Remove Slack webhook
  • Loading branch information
markjfannon authored Aug 9, 2024
1 parent f5ceca7 commit 645af46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/api/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const UON_PREFIX = "128.243"


export default async function handler(req, res) {
var url = process.env.SLACK_URL
var x = await Axios.post(url, {text:req.body.msg})
//var url = process.env.SLACK_URL
//var x = await Axios.post(url, {text:req.body.msg})

const detectedIp = requestIp.getClientIp(req)

Expand Down

0 comments on commit 645af46

Please sign in to comment.