SponsorBlockServer/test.json

62 lines
2 KiB
JSON
Raw Normal View History

2020-04-01 22:04:04 +02:00
{
"port": 8080,
"mockPort": 8081,
"globalSalt": "testSalt",
"adminUserID": "testUserId",
2021-06-03 17:38:21 +02:00
"newLeafURLs": ["placeholder"],
2020-09-05 22:56:23 +02:00
"discordReportChannelWebhookURL": "http://127.0.0.1:8081/ReportChannelWebhook",
"discordFirstTimeSubmissionsWebhookURL": "http://127.0.0.1:8081/FirstTimeSubmissionsWebhook",
2020-05-01 01:13:42 +02:00
"discordCompletelyIncorrectReportWebhookURL": "http://127.0.0.1:8081/CompletelyIncorrectReportWebhook",
2020-09-05 22:56:23 +02:00
"discordNeuralBlockRejectWebhookURL": "http://127.0.0.1:8081/NeuralBlockRejectWebhook",
2020-05-01 01:13:42 +02:00
"neuralBlockURL": "http://127.0.0.1:8081/NeuralBlock",
2020-04-01 22:04:04 +02:00
"behindProxy": true,
2021-04-29 21:49:25 +02:00
"db": ":memory:",
"privateDB": ":memory:",
2020-04-01 22:04:04 +02:00
"createDatabaseIfNotExist": true,
"schemaFolder": "./databases",
"dbSchema": "./databases/_sponsorTimes.db.sql",
"privateDBSchema": "./databases/_private.db.sql",
"mode": "test",
2020-08-23 20:54:18 +02:00
"readOnly": false,
2020-08-24 23:10:49 +02:00
"webhooks": [
{
"url": "http://127.0.0.1:8081/CustomWebhook",
"key": "superSecretKey",
"scopes": [
"vote.up",
"vote.down"
]
}, {
"url": "http://127.0.0.1:8081/FailedWebhook",
"key": "superSecretKey",
"scopes": [
"vote.up",
"vote.down"
]
2020-08-24 23:50:27 +02:00
}, {
"url": "http://127.0.0.1:8099/WrongPort",
"key": "superSecretKey",
"scopes": [
"vote.up",
"vote.down"
]
2020-08-24 23:10:49 +02:00
}
2020-09-09 18:57:47 +02:00
],
2021-04-05 05:12:26 +02:00
"categoryList": ["sponsor", "selfpromo", "interaction", "intro", "outro", "preview", "music_offtopic", "highlight"],
"maxNumberOfActiveWarnings": 3,
"hoursAfterWarningExpires": 24,
2020-10-11 16:17:17 +02:00
"rateLimit": {
"vote": {
"windowMs": 900000,
"max": 20,
"message": "Too many votes, please try again later",
2020-10-11 19:14:52 +02:00
"statusCode": 429
},
"view": {
"windowMs": 900000,
"max": 20,
"statusCode": 200
}
2020-10-11 19:13:16 +02:00
}
2020-04-01 22:04:04 +02:00
}