2020-04-01 22:04:04 +02:00
|
|
|
{
|
|
|
|
"port": 8080,
|
|
|
|
"mockPort": 8081,
|
|
|
|
"globalSalt": "testSalt",
|
|
|
|
"adminUserID": "testUserId",
|
|
|
|
"youtubeAPIKey": "",
|
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,
|
|
|
|
"db": "./test/databases/sponsorTimes.db",
|
|
|
|
"privateDB": "./test/databases/private.db",
|
|
|
|
"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:22:02 +02:00
|
|
|
}, {
|
|
|
|
"url": "http://unresolvable.host:8081/FailedWebhook",
|
|
|
|
"key": "superSecretKey",
|
|
|
|
"scopes": [
|
|
|
|
"vote.up",
|
|
|
|
"vote.down"
|
|
|
|
]
|
2020-08-24 23:10:49 +02:00
|
|
|
}
|
2020-09-09 18:57:47 +02:00
|
|
|
],
|
2020-10-11 16:17:17 +02:00
|
|
|
"categoryList": ["sponsor", "intro", "outro", "interaction", "selfpromo", "music_offtopic"],
|
|
|
|
"rateLimit": {
|
|
|
|
"vote": {
|
|
|
|
"windowMs": 900000,
|
|
|
|
"max": 20,
|
|
|
|
"message": "Too many votes, please try again later"
|
|
|
|
}
|
|
|
|
}
|
2020-04-01 22:04:04 +02:00
|
|
|
}
|