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"],
|
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,
|
2020-04-28 05:01:51 +02:00
|
|
|
"schemaFolder": "./databases",
|
|
|
|
"dbSchema": "./databases/_sponsorTimes.db.sql",
|
|
|
|
"privateDBSchema": "./databases/_private.db.sql",
|
2020-04-01 23:02:59 +02:00
|
|
|
"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-08-18 04:01:12 +02:00
|
|
|
"categoryList": ["sponsor", "selfpromo", "interaction", "intro", "outro", "preview", "music_offtopic", "poi_highlight"],
|
2020-09-16 22:40:11 +02:00
|
|
|
"maxNumberOfActiveWarnings": 3,
|
2020-10-15 00:34:27 +02:00
|
|
|
"hoursAfterWarningExpires": 24,
|
2020-10-11 16:17:17 +02:00
|
|
|
"rateLimit": {
|
2020-10-11 19:07:57 +02:00
|
|
|
"vote": {
|
|
|
|
"windowMs": 900000,
|
|
|
|
"max": 20,
|
|
|
|
"message": "Too many votes, please try again later",
|
2020-10-11 19:14:52 +02:00
|
|
|
"statusCode": 429
|
2020-10-11 19:07:57 +02:00
|
|
|
},
|
|
|
|
"view": {
|
|
|
|
"windowMs": 900000,
|
|
|
|
"max": 20,
|
|
|
|
"statusCode": 200
|
|
|
|
}
|
2020-10-11 19:13:16 +02:00
|
|
|
}
|
2020-04-01 22:04:04 +02:00
|
|
|
}
|