2019-09-04 19:18:47 +02:00
{
2020-03-27 02:58:21 +01:00
// Remove all comments from the config when using it!
2019-09-04 19:41:07 +02:00
"port": 80,
2019-09-04 19:18:47 +02:00
"globalSalt": "[global salt (pepper) that is added to every ip before hashing to make it even harder for someone to decode the ip]",
"adminUserID": "[the hashed id of the user who can perform admin actions]",
2019-12-24 16:53:20 +01:00
"youtubeAPIKey": null, //get this from Google Cloud Platform [optional]
"discordReportChannelWebhookURL": null, //URL from discord if you would like notifications when someone makes a report [optional]
2019-12-28 06:29:14 +01:00
"discordFirstTimeSubmissionsWebhookURL": null, //URL from discord if you would like notifications when someone makes a first time submission [optional]
2019-10-28 21:37:08 +01:00
"behindProxy": true,
"db": "./databases/sponsorTimes.db",
"privateDB": "./databases/private.db",
2020-02-15 22:02:56 +01:00
"createDatabaseIfNotExist": true, //This will run on startup every time (unless readOnly is true) - so ensure "create table if not exists" is used in the schema
2020-02-13 01:03:09 +01:00
"dbSchema": "./databases/_sponsorTimes.db.sql",
"privateDBSchema": "./databases/_private.db.sql",
2019-10-28 21:37:08 +01:00
"mode": "development",
"readOnly": false
2020-02-13 01:03:09 +01:00
}