mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 03:26:59 +03:00
17 lines
1.0 KiB
JSON
17 lines
1.0 KiB
JSON
{
|
|
"port": 80,
|
|
"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]",
|
|
"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]
|
|
"discordFirstTimeSubmissionsWebhookURL": null, //URL from discord if you would like notifications when someone makes a first time submission [optional]
|
|
"behindProxy": true,
|
|
"db": "./databases/sponsorTimes.db",
|
|
"privateDB": "./databases/private.db",
|
|
"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
|
|
"dbSchema": "./databases/_sponsorTimes.db.sql",
|
|
"privateDBSchema": "./databases/_private.db.sql",
|
|
"mode": "development",
|
|
"readOnly": false
|
|
}
|