f0cklib2.0

This commit is contained in:
2022-05-21 13:08:35 +00:00
parent 41194ca08a
commit 29d5b20f5b
2 changed files with 49 additions and 137 deletions

View File

@@ -63,7 +63,7 @@ export default new class {
const link = [];
if(env.tag) link.push("tag", env.tag);
if(env.user) link.push("user", env.user, env.type ?? 'f0cks');
if(env.mime.length > 2) link.push(env.mime);
if(env.mime?.length > 2) link.push(env.mime);
let tmp = link.length === 0 ? '/' : link.join('/');
if(!tmp.endsWith('/'))