Increase minimum char count

This commit is contained in:
TomatoCake 2024-07-06 16:02:21 +02:00
parent ba1ec9cab4
commit 8358755eeb

View File

@ -187,7 +187,7 @@ router.get(
let pathname = new URL(uri).pathname; let pathname = new URL(uri).pathname;
while ( while (
pathname.split("/")[0] != "attachments" && pathname.split("/")[0] != "attachments" &&
pathname.length > 10 pathname.length > 30
) { ) {
pathname = pathname.split("/").slice(1).join("/"); pathname = pathname.split("/").slice(1).join("/");
} }