less sharp
This commit is contained in:
parent
d5ca3c0cb9
commit
2574cb3bbe
2 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ export async function GET(request: NextRequest) {
|
|||
username: tUserExists.acct,
|
||||
admin: false,
|
||||
url: tUserExists.url,
|
||||
banned: JSONt1List.some(fbinst => instance.includes(fbinst)), // If user's domain is on tier1, start user banned
|
||||
banned: JSONt1List.includes(instance), // If user's domain is on tier1, start user banned
|
||||
joined: Date.now()
|
||||
} as UserTable;
|
||||
|
||||
|
|
|
@ -34,11 +34,11 @@ export async function GET(request: NextRequest) {
|
|||
const JSONFnList = fnList.split("\n");
|
||||
const JSONSsList = ssList.split("\n");
|
||||
|
||||
if (JSONSsList.some(fbinst => instance.includes(fbinst))) return new Response('https://seirdy.one/pb/spammy-subdomains.txt', {
|
||||
if (JSONSsList.includes(instance)) return new Response('https://seirdy.one/pb/spammy-subdomains.txt', {
|
||||
status: 403
|
||||
});
|
||||
|
||||
if (JSONFnList.some(fbinst => instance.includes(fbinst))) return new Response('https://seirdy.one/pb/FediNuke.txt', {
|
||||
if (JSONFnList.includes(instance)) return new Response('https://seirdy.one/pb/FediNuke.txt', {
|
||||
status: 403
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue