28 lines
687 B
JSON
28 lines
687 B
JSON
|
|
|
|
{
|
|
"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",
|
|
]
|
|
}
|
|
} |