SponsorBlockServer/test.json

75 lines
2.5 KiB
JSON
Raw Normal View History

2020-04-01 22:04:04 +02:00
{
"port": 8080,
"mockPort": 8081,
"globalSalt": "testSalt",
2021-06-15 00:08:55 +02:00
"adminUserID": "4bdfdc9cddf2c7d07a8a87b57bf6d25389fb75d1399674ee0e0938a6a60f4c3b",
2021-06-03 17:38:21 +02:00
"newLeafURLs": ["placeholder"],
"discordReportChannelWebhookURL": "http://127.0.0.1:8081/webhook/ReportChannel",
"discordFirstTimeSubmissionsWebhookURL": "http://127.0.0.1:8081/webhook/FirstTimeSubmissions",
"discordCompletelyIncorrectReportWebhookURL": "http://127.0.0.1:8081/webhook/CompletelyIncorrectReport",
"discordNeuralBlockRejectWebhookURL": "http://127.0.0.1:8081/webhook/NeuralBlockReject",
2020-05-01 01:13:42 +02:00
"neuralBlockURL": "http://127.0.0.1:8081/NeuralBlock",
"userCounterURL": "http://127.0.0.1:8081/UserCounter",
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",
"categoryList": ["sponsor", "selfpromo", "exclusive_access", "interaction", "intro", "outro", "preview", "music_offtopic", "filler", "poi_highlight", "chapter"],
"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"
]
2023-02-22 06:08:27 +01:00
}, {
"url": "http://127.0.0.1:8081/WarningWebhook",
"key": "superSecretKey",
"scopes": [
"warning"
]
2020-08-24 23:10:49 +02:00
}
2020-09-09 18:57:47 +02:00
],
"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
}
},
"patreon": {
"clientId": "testClientID",
"clientSecret": "testClientSecret",
"redirectUri": "http://127.0.0.1/fake/callback"
},
"minReputationToSubmitFiller": -1,
"minUserIDLength": 0
2020-04-01 22:04:04 +02:00
}