Initial commit

This commit is contained in:
2023-11-03 21:12:55 +01:00
parent a4afe6cc85
commit 57362e7520
39 changed files with 3505 additions and 1 deletions
+28
View File
@@ -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",
]
}
}