Initial commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
|
||||
|
||||
{
|
||||
"baseUrl":[
|
||||
"https://shorten.dommymommy.xyz",
|
||||
"https://shorten.gofuckaduck.eu",
|
||||
"https://shorten.kitsunes.eu"
|
||||
],
|
||||
"database":{
|
||||
"host": "the ip of your database",
|
||||
"port": "the port",
|
||||
"username": "the username",
|
||||
"password": "the password",
|
||||
"database": "url_shortener"
|
||||
},
|
||||
"ratelimit":{
|
||||
"enabled":true,
|
||||
"hitsUntilBan":5,
|
||||
"resetHits":true,
|
||||
"resetTimeframe":5,
|
||||
"devKey":"a key used in the header to bypass ratelimiting"
|
||||
},
|
||||
"banhandler":{
|
||||
"whitelisted":[
|
||||
"ips you want to whitelist and prevent from being banned",
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user