Files
url-shortener-public/config/main.json
T
2023-11-03 21:12:55 +01:00

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",
]
}
}