Update configs for NB discord URLs

This commit is contained in:
Andrew Lee
2020-09-05 16:56:23 -04:00
parent ba68969943
commit e8116de4bb
3 changed files with 8 additions and 3 deletions

View File

@@ -16,6 +16,9 @@ app.post('/CompletelyIncorrectReportWebhook', (req, res) => {
});
// Testing NeuralBlock
app.post('/NeuralBlockRejectWebhook', (req, res) => {
res.sendStatus(200);
});
app.get('/NeuralBlock/api/checkSponsorSegments', (req, res) => {
if (req.query.vid === "LevkAjUE6d4") {
@@ -45,4 +48,4 @@ app.post('/CustomWebhook', (req, res) => {
module.exports = function createMockServer(callback) {
return app.listen(config.mockPort, callback);
}
}