api/processing: reformat

This commit is contained in:
jj 2025-02-10 13:45:08 +00:00
parent ab52297613
commit 0c1f6b56dc
No known key found for this signature in database

View File

@ -102,9 +102,8 @@ function aliasURL(url) {
case "loom":
const idPart = parts[parts.length - 1];
if(idPart.length > 32){
const actualIdPart = idPart.slice(-32);
url.pathname = `/share/${actualIdPart}`;
if (idPart.length > 32) {
url.pathname = `/share/${idPart.slice(-32)}`;
}
break;
}