mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-13 08:48:26 +00:00
api/processing: reformat
This commit is contained in:
parent
ab52297613
commit
0c1f6b56dc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user