mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-10 13:37:01 +03:00
Update configs for NB discord URLs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user