Skip to content

Instantly share code, notes, and snippets.

View phit's full-sized avatar
💭
🥷

Philip T. phit

💭
🥷
View GitHub Profile
@phit
phit / webhookRelay.js
Last active February 21, 2022 11:44 — forked from brussell98/webhookRelay.js
Make slack Grafana webhooks discord compatible
const express = require('express'),
bodyParser = require('body-parser'),
request = require('unirest'),
app = express();
function HEXToVBColor(rrggbb) {
return parseInt(rrggbb, 16);
}
app.disable('x-powered-by');